@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #FFD700;
    /* Neon Gold */
    --accent-color: #00f3ff;
    /* Cyan/Teal */
    --bg-dark: #050505;
    /* Deep Black */
    --bg-surface: #121212;
    /* Surface Black */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 215, 0, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08), transparent 25%);
    background-attachment: fixed;
}

/* Add subtle fade-in and slide-up animation for sections */
.fade-in.visible {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PREMIUM FEATURES ===== */

/* Particle Background Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}



/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(90deg,
            var(--primary-color),
            var(--accent-color),
            var(--primary-color),
            var(--accent-color));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-shadow: none;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Stats Section */
.stats-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0.5rem 0;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Tilt Effect Base (will be activated by JS) */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* ===== FINAL POLISH FEATURES ===== */

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 2. Staggered Card Animations */
.skill:nth-child(1) {
    animation-delay: 0.1s;
}

.skill:nth-child(2) {
    animation-delay: 0.2s;
}

.skill:nth-child(3) {
    animation-delay: 0.3s;
}

.skill:nth-child(4) {
    animation-delay: 0.4s;
}

.skill:nth-child(5) {
    animation-delay: 0.5s;
}

.skill:nth-child(6) {
    animation-delay: 0.6s;
}

.skill:nth-child(7) {
    animation-delay: 0.7s;
}

.skill:nth-child(8) {
    animation-delay: 0.8s;
}

.skill:nth-child(9) {
    animation-delay: 0.9s;
}

.skill:nth-child(10) {
    animation-delay: 1s;
}

.skill:nth-child(11) {
    animation-delay: 1.1s;
}

.skill:nth-child(12) {
    animation-delay: 1.2s;
}

/* 3. Social Icons Pulse Animation */
.icons a {
    animation: socialPulse 2s ease-in-out infinite;
}

.icons li:nth-child(1) a {
    animation-delay: 0s;
}

.icons li:nth-child(2) a {
    animation-delay: 0.3s;
}

.icons li:nth-child(3) a {
    animation-delay: 0.6s;
}

@keyframes socialPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===== END FINAL POLISH ===== */

/* Enhanced hover effect for buttons */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(230, 126, 34, 0.6);
}

/* Smooth transition for project description toggling */
.project-description {
    transition: opacity 0.3s ease;
    opacity: 0;
    display: none;
}

/* When visible, show with opacity */
.project-description.visible {
    display: block;
    opacity: 1;
}

/* Add subtle shadow and scale effect on project cards hover */
.project:hover {
    box-shadow: 0 12px 24px rgba(243, 156, 18, 0.6);
    transform: translateY(-10px) scale(1.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Add smooth transition to flip cards */
.flip-card {
    transition: transform 0.6s ease;
}

/* Add subtle glow effect on skill icons hover */
.flip-card-front img:hover {
    filter: drop-shadow(0 0 6px #f39c12);
    transition: filter 0.3s ease;
}

/* Add focus outline for accessibility */
a:focus,
button:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

/* Scroll to top button enhanced hover */
#scrollToTopBtn:hover {
    background-color: #d35400;
    box-shadow: 0 8px 16px rgba(211, 84, 0, 0.7);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Responsive improvements for smaller screens */
@media (max-width: 768px) {
    .btn-primary {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .project-description {
        font-size: 14px;
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.navbar-brand:hover {
    background-color: transparent;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    filter: invert(1);
    background-color: transparent;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 15px;
    /* Space between the items */
}

@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 10px;
        /* Adds space when toggler is active */
    }
}


.page {
    width: 100%;
    height: 100%;
    margin-bottom: 100px;
}

.hero {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-top: 2rem;
}


.hero img {
    border-radius: 50%;
    /* Circular image */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
}

h1,
h2 {
    color: var(--primary-color);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

p,
.about-text {
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    line-height: 1.7;
}


.highlight {

    padding-right: 5px;
    /* Space for cursor */
    white-space: nowrap;
    /* Prevents line breaks */
}

.cursor {
    display: inline-block;
    /* Ensures it acts like a cursor */
    animation: blink 0.75s step-end infinite;
    /* Blinking cursor */
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Change color and scale on hover */
.introduction_container:hover .highlight {
    color: #ffd700;
    /* Change to gold on hover */
    transform: scale(1.1);
    /* Slightly scale up the name */
}

.icons {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-top: 1rem;
}

.icon i {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #ffffff;
    /* Default icon color is white */
}

/* Hover colors for each platform */
.icon.twitter i:hover {
    color: #1da1f2;
    /* Twitter blue on hover */
}

.icon.facebook i:hover {
    color: #3b5998;
    /* Facebook blue on hover */
}

.icon.github i:hover {
    color: #007bff;
    /* Blue for GitHub on hover */
}

.icon.instagram i:hover {
    color: #e4405f;
    /* Instagram gradient pink on hover */
}

.icon.linkedin i:hover {
    color: #0e76a8;
    /* LinkedIn blue on hover */
}

/* Hover effect - add slight zoom */
.icon i:hover {
    transform: scale(1.1);
    /* Slight zoom effect */
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    margin: 40px 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.about-image {
    flex: 1;
    /* Allow the image container to grow */
    max-width: 300px;
    /* Limit the width of the image */
    margin-right: 20px;
    /* Space between image and text */
    border-radius: 10px;
    /* Optional: add some border-radius to the image */
    overflow: hidden;
    /* Prevent image overflow */
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
    /* Shadow for image */
}

.about-image img {
    width: 100%;
    /* Make image responsive */
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.3s;
    /* Smooth hover effect */
}

.about-image img:hover {
    transform: scale(1.05);
    /* Scale image on hover */
}

.about-text {
    flex: 2;
    /* Allow the text container to grow more than the image */
    text-align: left;
    /* Align text to the left */
}

.about-text h2 {
    font-size: 28px;
    /* Increase header size */
    color: #f39c12;
    /* Orange color for header for contrast */
    margin-bottom: 15px;
    /* Space below header */
}

.about-text p {
    font-size: 16px;
    /* Adjust paragraph size */
    color: #ecf0f1;
    /* Light grey color for paragraph text */
    margin-bottom: 20px;
    /* Space below paragraph */
}

.about-list {
    list-style: none;
    /* Remove default list styling */
    padding: 0;
    /* Remove padding */
}

.about-list li {
    margin: 10px 0;
    /* Space between list items */
    font-size: 16px;
    /* Adjust font size as needed */
    color: #dcdcdc;
    /* Slightly lighter grey for list items */
    position: relative;
    /* Positioning for icon */
    padding-left: 20px;
    /* Space for icon */
}

.list-icon {
    color: #f39c12;
    /* Gold color for icons */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}



/* Responsive styles */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        /* Stack image and text on smaller screens */
        align-items: center;
        /* Center items */
    }

    .about-image {
        margin-right: 0;
        /* Remove margin on smaller screens */
        margin-bottom: 20px;
        /* Add some space below the image */
    }
}

#skills {
    background: transparent;
    padding: 50px 20px;
    margin: 20px 0;
}

#skills h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.skill {
    perspective: 1000px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    margin-bottom: 20px;
}

.flip-card:hover {
    transform: rotateY(180deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.flip-card-front {
    background: var(--glass-bg);
    flex-direction: column;
}

.flip-card-front img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.flip-card-front h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.flip-card-back {
    background: rgba(20, 20, 20, 0.9);
    transform: rotateY(180deg);
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.flip-card-back h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

.flip-card-back p {
    font-size: 1rem;
    color: var(--text-secondary);
}


/* Projects Section */
.project {
    width: 100%;
    height: 100%;
    background-color: var(--bg-surface);
    background-size: cover;
    background-position: center !important;
    border-radius: 20px;
    padding: 25px;
    margin: 15px 0;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
    transition: var(--transition);
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    border-color: var(--accent-color);
}

.project:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

.project h4,
.project button {
    position: relative;
    z-index: 1;
}

/* Typography Enhancements */
.project h4 {
    font-size: 20px;
    /* Scalable title size */
    color: #ecf0f1;
    /* Light text for readability */
    margin-bottom: 15px;
    /* Space below title */
    text-transform: uppercase;
    /* Bold look */
    font-weight: bold;
}

.project p {
    font-size: 16px;
    /* Standard paragraph size */
    color: #bdc3c7;
    /* Softer grey for descriptions */
    line-height: 1.6;
    /* Improved readability */
}

/* Button Styling */
.project .btn {
    background-color: #ff5100;
    /* Blue button for better contrast */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;

}

.project .btn:hover {
    background-color: #3498db;
    /* Lighter blue on hover */
    cursor: pointer;
}

/* Description Section Styling - ENHANCED */
.project-description {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 30px auto;
    padding: 40px;
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 95%;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-description.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-description h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.project-description h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-description p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-description ul {
    list-style-type: none;
    padding: 0;
}

.project-description ul li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.project-description ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.project-description ul li strong {
    color: var(--text-primary);
}

/* ===== ANIMATED TIMELINE ===== */

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Vertical Center Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            var(--primary-color) 10%,
            var(--accent-color) 90%,
            transparent);
    animation: timelineDraw 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes timelineDraw {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px var(--glass-border),
        0 0 20px rgba(255, 215, 0, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 4px var(--glass-border),
            0 0 20px rgba(255, 215, 0, 0.6);
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        box-shadow: 0 0 0 8px var(--glass-border),
            0 0 30px rgba(255, 215, 0, 0.8);
    }
}

/* Timeline Content */
.timeline-content {
    position: relative;
    width: 45%;
}

.timeline-left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-right {
    left: 55%;
    text-align: left;
    padding-left: 50px;
}

/* Timeline Card */
.timeline-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

/* Timeline Date Badge */
.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.timeline-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.timeline-card h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 80px !important;
        padding-right: 20px !important;
    }
}

/* ===== END TIMELINE ===== */

/* Hover effect for description */
.project-description:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project {
        margin: 10px auto;
        /* Center cards horizontally */
    }

    .project h4 {
        font-size: 18px;
    }

    .project p {
        font-size: 14px;
    }

    .project-description {
        padding: 15px;
        max-width: 100%;
    }

    .project-description h3 {
        font-size: 20px;
    }

    .project-description ul li {
        font-size: 14px;
    }
}

/* Styling for the Publication Section */
#publications {
    background-color: #000000;
    color: #ecf0f1;
    padding: 40px 0;
}

.publication-item {
    background-color: #222223;
    border-radius: 15px;
    padding: 30px;

    box-shadow: 4px 4px 10px rgba(255, 165, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.publication-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.publication-item h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ecf0f1;
    margin-bottom: 15px;
}

.publication-item p {
    font-size: 16px;
    color: #bdc3c7;
    line-height: 1.6;
}

.publication-item ul {
    list-style-type: none;
    padding: 0;
    font-size: 16px;
    color: #bdc3c7;
}

.publication-item ul li {
    margin-bottom: 10px;
}

.publication-item a.btn {
    background-color: #2980b9;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 15px;
}

.publication-item a.btn:hover {
    background-color: #3498db;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    #skills {
        padding: 30px 10px;
        /* Adjust padding for smaller screens */
    }

    .skill {
        margin: 10px 0;
        /* Reduce margin on smaller screens */
    }
}


/* Footer - ENHANCED */
.footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-heading {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom .fa-heart {
    color: #ff4757;
    animation: heartBeat 1.5s ease infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }
}

/* Buttons */
.btn-primary {
    background-color: #f39c12;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }
}


/* Contact Section */
.contact {
    padding: 40px 20px;
    /* Add padding inside the section */
    background-color: #1a1a1a;
    /* Dark background for contrast */
    color: #fff;
    /* White text for readability */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    margin: 20px;
    /* Add margin to create space between the section and other content or the edge of the page */
    width: calc(100% - 40px);
    /* Adjust width to fit inside with margin */
    box-sizing: border-box;
    /* Ensure padding and margin don't affect the element's size */
}

/* Contact Heading */
.contact h2 {
    font-size: 32px;
    color: #f39c12;
    /* Golden yellow for heading */
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Adds space between form elements */
    padding: 30px;
}

/* Input Fields */
.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #2c3e50;
    /* Dark background for input fields */
    color: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f39c12;
    /* Focus border color for inputs */
    outline: none;
    /* Remove outline on focus */
}

/* Submit Button */
.contact-form button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #e67e22;
    transform: scale(1.05);
    /* Button hover effect */
}


/* Style for the dark background download button */
.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #1c1c1c;
    /* Dark background */
    color: #ecf0f1;
    /* Light text color */
    font-size: 16px;
    /* Font size */
    padding: 12px 24px;
    /* Padding for button */
    border-radius: 30px;
    /* Rounded corners */
    text-align: center;
    text-decoration: none;
    /* Remove underline */
    margin: 10px;
    /* Margin around the button */
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Smooth transitions */
}

.download-btn i {
    margin-right: 8px;
    /* Space between icon and text */
    font-size: 18px;
    /* Size of the icon */
}

.download-btn:hover {
    background-color: #34495e;
    /* Lighter background on hover */
    transform: translateY(-5px);
    /* Slight lift effect */
}

.line-btn-dark {
    border: 2px solid #ecf0f1;
    /* Light border for the button */
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-radius {
    border-radius: 25px;
    /* More rounded corners */
}

.download-btn:active {
    background-color: #2c3e50;
    /* Slightly darker background when clicked */
}

.download-btn:hover,
.download-btn:active {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Adds a subtle shadow effect */
}

.download-btn:focus {
    outline: none;
    /* Remove focus outline */
}



#typed-text {
    color: #fddb3a;
    /* Bright yellow text */
    font-size: 2rem;
    /* Adjust font size */
    font-weight: bold;
    /* Bold text */
    text-align: start;
    /* Center-align */
    display: inline-block;
    /* Prevent collapsing when empty */
    white-space: nowrap;
    /* Prevent text wrapping */
    min-width: 1ch;
    /* Reserve space for at least one character (cursor) */
}

@media (max-width: 768px) {
    #typed-text {
        text-align: center;
        /* Center-align on smaller screens */
        display: block;
        /* Ensure proper alignment */
        margin: 0 auto;
        /* Center the element horizontally */
    }
}

#typed-text::after {
    content: "|";
    /* Add the blinking cursor */
    color: #fddb3a;
    /* Bright yellow */
    animation: blink 0.7s step-end infinite;
    /* Blinking effect */
    vertical-align: baseline;
    /* Align with the baseline of text */
}

@keyframes blink {
    50% {
        opacity: 0;
        /* Blink effect */
    }
}


/* Qualification Section Style */
#qualification {
    background-color: #222223;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 4px 4px 10px rgba(255, 165, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Container with padding and center alignment */
#qualification .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Title Styles */
#qualification h1 {
    text-transform: uppercase;
    color: white;
    font-size: 3rem;
    -webkit-text-stroke: 1px #dee2e6;
}

#qualification h1.text-primary {
    position: absolute;
    color: #0d6efd;
}

/* Section Titles */
#qualification h3 {
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Education and Experience Sections */
#qualification .col-lg-6 {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 8px rgba(255, 165, 0, 0.3);
}

/* Content Inside Each Section */
#qualification .col-lg-6 h5 {
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

#qualification .col-lg-6 p {
    color: #ccc;
}

#qualification .col-lg-6 .position-relative {
    position: relative;
}

/* Dot Circle Icon */
#qualification .far.fa-dot-circle {
    position: absolute;
    top: 2px;
    left: -32px;
    color: #0d6efd;
}

/* Hover Effects for Sections */
#qualification .col-lg-6:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 15px rgba(255, 165, 0, 0.7);
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    /* Ensure the element is initially hidden */
}

/* Scroll to Top Button Styles */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f39c12;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    /* Always flex for alignment */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

/* Disable text selection globally */
body,
html {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #e67e22;
}

#scrollToTopBtn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}