/* CSS Variables */
:root {
    --video-scale: 1; /* Scale factor for video - change this to resize */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/* Show scrollbar for WebKit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide scrollbar when not scrolling but keep space */
html.scrollbar-hidden::-webkit-scrollbar {
    width: 8px;
}

html.scrollbar-hidden::-webkit-scrollbar-thumb {
    background: transparent;
}

html.scrollbar-hidden::-webkit-scrollbar-track {
    background: transparent;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    margin: 0;
    padding: 0 6rem;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav__logo {
    margin-left: 0rem;
    padding-right: 2rem;
    display: flex;
    align-items: center;
}

.nav__logo h2 {
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
}

.nav__logo a {
    text-decoration: none;
    color: #e44d25;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo img {
    height: 60px;
    width: auto;
    max-width: none;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav__logo img:hover {
    transform: scale(1.05);
}

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

.nav__link {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: #e44d25;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e44d25;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav__hamburger {
    width: 25px;
    height: 3px;
    background-color: #e44d25;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero__placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary {
    background-color: #e44d25;
    color: white;
    border-color: #e44d25;
}

.btn--primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn--secondary:hover {
    background-color: white;
    color: #e44d25;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section__description {
    font-size: 1.125rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #333333;
}

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

.about__card {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about__card-description {
    color: #cccccc;
    line-height: 1.6;
}

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

.service__card {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #555555;
    transition: all 0.3s ease;
}

.service__card:hover {
    border-color: #e44d25;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.service__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service__description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service__features {
    list-style: none;
}

.service__features li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.service__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e44d25;
    font-weight: bold;
}

/* Contact Section */
.contact {
    background-color: #2d2d2d;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact__item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact__item p {
    color: #cccccc;
    font-size: 1.125rem;
}

.contact__form {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #555555;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #2d2d2d;
    color: #ffffff;
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: #e44d25;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 1;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e44d25;
}

.footer__brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer__column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer__column ul {
    list-style: none;
}

.footer__column ul li {
    margin-bottom: 0.5rem;
}

.footer__column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__column ul li a:hover {
    color: #e44d25;
}

.footer__bottom {
    border-top: 1px solid #333333;
    padding-top: 1rem;
    text-align: center;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #2d2d2d;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .nav__hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active .nav__hamburger:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active .nav__hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .about__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about__card,
.service__card {
    animation: fadeInUp 0.6s ease-out;
}

.about__card:nth-child(2) {
    animation-delay: 0.1s;
}

.about__card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Resume Page Styles */
.resume-hero {
    padding: 120px 0 80px;
    background: #2d2d2d;
    color: white;
    text-align: center;
}

.resume-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.resume-hero__subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.resume-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resume-content {
    padding: 80px 0;
    background: #1a1a1a;
}

.resume-grid {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.resume-section {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.resume-section__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    border-bottom: 2px solid #e44d25;
    padding-bottom: 0.5rem;
}

.resume-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info {
    display: grid;
    gap: 0.5rem;
}

.contact-info__item {
    color: #e0e0e0;
    font-size: 1rem;
}

.experience-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #555555;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.experience-company {
    color: #e44d25;
    font-weight: 500;
}

.experience-date {
    color: #cccccc;
    font-size: 0.9rem;
    margin-left: auto;
}

.experience-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-details li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-details li::before {
    content: '•';
    color: #e44d25;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.education-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.education-degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.education-school {
    color: #e44d25;
    font-weight: 500;
}

.education-date {
    color: #cccccc;
    font-size: 0.9rem;
    margin-left: auto;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-category h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #e44d25;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.certification-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #555555;
}

.certification-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.certification-item h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

.certification-issuer {
    color: #e44d25;
    font-weight: 500;
}

.certification-date {
    color: #cccccc;
    font-size: 0.9rem;
    margin-left: auto;
}

.project-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #555555;
}

.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-description {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.project-link {
    color: #e44d25;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #2563eb;
}

/* Project Page Styles */
.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
    width: 100%;
}

.video-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: visible;
}

.video-description {
    font-family: Arial, sans-serif;
    color: #cccccc;
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
}

.video-container {
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
    min-height: calc(500px * var(1.2));
    transform: scale(var(1.2));
    transform-origin: center;
}

.video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 1400px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .video-text {
        height: auto;
        min-height: auto;
        overflow-y: visible;
    }
    
    .video-container {
        min-height: auto;
        transform: scale(1);
    }
    
    .video-section__title {
        font-size: 2rem;
    }
    
    .video-container iframe {
        height: 100%;
    }
}

.project-hero {
    padding: 100px 0 20px;
    background: #1a1a1a;
    color: white;
    text-align: left;
}

.inspiration-section {
    padding: 40px 0;
    background: #2d2d2d;
    color: white;
    overflow: hidden;
}

.inspiration-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.inspiration-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.inspiration-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.inspiration-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: scale(1.017);
}

.inspiration-gallery {
    overflow: hidden;
}

.inspiration-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
}

@media (max-width: 768px) {
    .inspiration-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .inspiration-image img {
        height: 250px;
    }
}

.digital-mode-section {
    padding: 60px 0;
    background: #1a1a1a;
    color: white;
}

.digital-mode-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.digital-mode-video {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.digital-mode-video video {
    width: 100%;
    height: auto;
    display: block;
}

.photos-section {
    padding: 60px 0 80px 0;
    background: #2d2d2d;
    color: white;
    overflow: visible;
}

.photos-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.photos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
    overflow: visible;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.photo-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: scale(1.017);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1) saturate(0.7) hue-rotate(-15deg); /* Reduce yellow cast and match renders */
    cursor: pointer;
}

/* Mechanisms Section */
.mechanisms-section {
    padding: 60px 0 80px 0;
    background: #1a1a1a;
    color: white;
    overflow: visible;
}

.mechanisms-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.mechanisms-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
    overflow: visible;
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 70%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    filter: brightness(0.9) contrast(1.1) saturate(0.7) hue-rotate(-15deg); /* Apply same filter as gallery images */
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e44d25;
}

.modal-nav {
    position: absolute;
    top: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1001;
    transform: translateY(-50%);
}

.nav-arrow {
    font-size: 60px;
    color: #ffffff;
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.3s ease, transform 0.3s ease;
    user-select: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    color: #e44d25;
    transform: scale(1.1);
}

.nav-arrow.prev {
    margin-left: 20px;
}

.nav-arrow.next {
    margin-right: 20px;
}

#modalCaption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
    font-size: 1.2rem;
    z-index: 1002;
}

/* Video Modal Styles */
#videoModal .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 70%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

#videoCaption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
    font-size: 1.2rem;
    z-index: 1002;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.digital-files-section {
    padding: 60px 0 60px 0;
    background: #2d2d2d;
    color: white;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    overflow: visible;
}

.digital-files-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.digital-files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.digital-file-item {
    text-align: center;
}

.file-title {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e44d25;
    margin: 0 0 1rem 0;
}

.file-placeholder {
    background: #2d2d2d;
    border: 2px solid #e44d25;
    border-radius: 12px;
    padding: 0;
    height: 350px;
    display: block;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.file-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.file-download-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    pointer-events: none;
}

.file-placeholder:hover .download-overlay {
    opacity: 1;
}

.download-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.download-text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.file-placeholder:hover {
    box-shadow: 0 15px 40px rgba(228, 77, 37, 0.3);
}

@media (max-width: 768px) {
    .digital-files-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.project-hero__title {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: left;
    padding-left: 0.5rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.project-hero__subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.project-status {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-in-development {
    background: #f59e0b;
    color: #1f2937;
}

.status-completed {
    background: #10b981;
    color: white;
}

.status-pending {
    background: #6b7280;
    color: white;
}

.presentation-section {
    padding: 0 0 60px 0;
    background: #1a1a1a;
    color: white;
}

.content-section {
    margin-bottom: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: left;
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 20px 0 80px 0;
    background: #1a1a1a;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project-card-link:hover .project-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.project-card {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card__content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.project-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card__title {
    font-family: Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.project-card__blurb {
    font-size: 1.25rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.project-card__thumbnail {
    flex-shrink: 0;
    width: 400px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card__thumbnail--placeholder {
    background: #000000;
}

/* Work in Progress Section */
.work-in-progress-section {
    padding: 200px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-in-progress-content {
    max-width: 800px;
    margin: 0 auto;
}

.work-in-progress-title {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 768px) {
    .project-card__content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .project-card__thumbnail {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    
    .project-card__title {
        font-size: 1.875rem;
    }
    
    .project-card__blurb {
        font-size: 1.125rem;
    }
}

.presentation-title {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 2rem 0;
    padding-left: 0.5rem;
}

.pdf-viewer-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #2d2d2d;
}

.pdf-viewer {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.placeholder-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 2rem;
}

.placeholder-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: contain;
}

.pdf-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 3rem;
    background: #2d2d2d;
    border-radius: 12px;
    margin: 0;
}

.pdf-fallback-content {
    text-align: center;
    max-width: 400px;
}

.pdf-fallback-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.pdf-fallback-text {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.pdf-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6252a3;
    color: #ffffff;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(98, 82, 163, 0.3);
}

.pdf-download-button:hover {
    background: #7d6bb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 82, 163, 0.4);
    text-decoration: none;
}

.pdf-download-button i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pdf-viewer {
        height: 600px;
    }
    
    .presentation-title {
        font-size: 2rem;
    }
}

.project-content {
    padding: 80px 0;
    background: #2d2d2d;
}

.project-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-section {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.project-section__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    border-bottom: 2px solid #e44d25;
    padding-bottom: 0.5rem;
}

.project-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: grid;
    gap: 0.5rem;
}

.meta-item {
    color: #cccccc;
    font-size: 1rem;
}

.progress-tracker {
    display: grid;
    gap: 1.5rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-header h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

.progress-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-status.completed {
    background: #10b981;
    color: white;
}

.progress-status.in-progress {
    background: #f59e0b;
    color: #1f2937;
}

.progress-status.pending {
    background: #6b7280;
    color: white;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #555555;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #e44d25;
    transition: width 0.3s ease;
}

.tech-stack {
    display: grid;
    gap: 1.5rem;
}

.tech-category h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #e44d25;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.notes-container {
    display: grid;
    gap: 1rem;
}

.note-item {
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 8px;
    border-left: 4px solid #e44d25;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.note-date {
    color: #cccccc;
    font-size: 0.9rem;
}

.note-type {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.note-type.feature {
    background: #10b981;
    color: white;
}

.note-type.bug {
    background: #ef4444;
    color: white;
}

.note-type.improvement {
    background: #e44d25;
    color: white;
}

.note-content {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

.quick-links {
    display: grid;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #2d2d2d;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.quick-link:hover {
    background: #333333;
}

.quick-link__icon {
    font-size: 1.5rem;
}

.quick-link__content h4 {
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.quick-link__content p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

/* Features Grid for Spectral */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Metrics Grid for OnlyOdds */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-item {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e44d25;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e44d25;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog Page Styles */
.blog-hero {
    padding: 120px 0 80px;
    background: #2d2d2d;
    color: white;
    text-align: center;
}

.blog-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-hero__subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.blog-content {
    padding: 80px 0;
    background: #1a1a1a;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background: #404040;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.featured-post {
    grid-column: 1 / -1;
    border: 2px solid #e44d25;
}

.post-header {
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-date {
    color: #cccccc;
    font-size: 0.9rem;
}

.post-category {
    background: #e44d25;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.featured-post .post-title {
    font-size: 2rem;
}

.post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-excerpt p {
    margin-bottom: 1rem;
}

.post-excerpt p:last-child {
    margin-bottom: 0;
}

.post-footer {
    border-top: 1px solid #555555;
    padding-top: 1rem;
}

.read-more {
    color: #e44d25;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2563eb;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: #404040;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.sidebar-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e44d25;
    padding-bottom: 0.5rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-link {
    color: #cccccc;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #e44d25;
}

.category-count {
    background: #555555;
    color: #cccccc;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #555555;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-link:hover {
    color: #e44d25;
}

.sidebar-text {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-hero__title {
        font-size: 2.5rem;
    }
    
    .featured-post .post-title {
        font-size: 1.5rem;
    }
    
    .blog-sidebar {
        order: -1;
    }
}

/* Responsive Resume Styles */
@media (max-width: 768px) {
    .resume-hero__title {
        font-size: 2.5rem;
    }
    
    .resume-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .experience-header,
    .education-item,
    .certification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .experience-date,
    .education-date,
    .certification-date {
        margin-left: 0;
    }
    
    .skill-tags {
        justify-content: center;
    }
    
    .project-hero__title {
        font-size: 2.5rem;
    }
    
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .note-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .quick-link {
        flex-direction: column;
        text-align: center;
    }
}

