:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f5f7fa;
    --dark-bg: #1a222c;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cursor */
.cursor {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    position: fixed;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, left 0.15s ease-out, top 0.15s ease-out; /* Added smooth positioning transition */
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
    display: none;
    transform-origin: 0px 10px; /* Set origin to the tip of the pin */
}

.cursor::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

@keyframes fadeInCursor {
    from {
        opacity: 0;
        transform: rotate(-45deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }
}

.cursor {
    animation: fadeInCursor 0.3s ease-out;
}

/* Header */
header {
    background-color: rgba(44, 62, 80, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
    background-color: rgba(44, 62, 80, 0.98);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    /* Stylized Long Shadow Effect */
    text-shadow: 
        1px 1px 1px rgba(0,0,0,0.2),
        2px 2px 1px rgba(0,0,0,0.2),
        3px 3px 1px rgba(0,0,0,0.2),
        4px 4px 1px rgba(0,0,0,0.2),
        5px 5px 1px rgba(0,0,0,0.2),
        6px 6px 1px rgba(0,0,0,0.2),
        7px 7px 1px rgba(0,0,0,0.2);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-light);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Simplified background with both gradient overlay and image */
    background: linear-gradient(rgba(26, 34, 44, 0.8), rgba(26, 34, 44, 0.9)), 
                url('pictures/cover.jpeg') center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    position: relative; /* To contain the particles canvas */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Sits behind hero-content */
}

.hero-content {
    max-width: 800px;
    position: relative; /* To ensure it's above the particles canvas */
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero h2 {
    font-size: 2.2rem; /* Increased size */
    margin-bottom: 30px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    transform: translateY(-5px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* About Section */
section {
    padding: 100px 0;
}

.about {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 1000px;
    overflow: hidden;
    transform: translateX(-50px);
    opacity: 0;
    position: relative; /* To position the checkmark */
}

.about-image img {
    width: 100%;
    height: auto;
    margin-bottom: -20px;
    transition: var(--transition);
}

.about-text {
    flex: 1;
    min-width: 300px;
    transform: translateX(50px);
    opacity: 0;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.skills {
    margin-top: 30px;
}

.skills h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Experience Section */
.experience {
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 0px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: 7px;
}

.right::after {
    left: 7px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-company {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.company-name-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600; /* Make it slightly bolder */
    transition: var(--transition);
}

.company-name-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.experience-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.experience-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.experience-button.linkedin-button:hover {
    background-color: #0A66C2;
    color: white;
}

.timeline-description {
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    background-color: white;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background-color: var(--light-bg);
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-info {
    padding: 20px;
    background-color: white;
}

.portfolio-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.portfolio-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.overlay-title {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
    opacity: 0;
}

.portfolio-item:hover .overlay-title {
    transform: translateY(0);
    opacity: 1;
}

.view-project {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 20px;
    transition: var(--transition);
    transform: translateY(20px);
    transition-delay: 0.2s;
    opacity: 0;
}

.portfolio-item:hover .view-project {
    transform: translateY(0);
    opacity: 1;
}

.view-project:hover {
    background-color: white;
    color: var(--primary-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-category {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
}

.modal-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.embedded-drive-container-style {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    display: flex;
}

.embedded-drive-container-style iframe {
    flex: 1;
    border: 0;
    width: 100%;
    height: 100%;
}

/* Certificates Section */
.certificates {
    background-color: var(--light-bg);
}

.certificate-slider {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.certificate-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.certificate-item {
    min-width: 300px;
    min-height: 440px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
}

.certificate-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.certificate-info {
    padding: 20px;
}

.certificate-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.certificate-issuer {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 15px;
}

.certificate-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.certificate-buttons {
    display: flex;
    justify-content: flex-start; /* Aligns items to the left */
    position: absolute; /* Positions it absolutely within the parent container */
    bottom: 20px; /* Distance from bottom */
    left: 20px; /* Distance from left */
}

.view-certificate {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-certificate:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.slider-nav {
    text-align: center;
    margin-top: 30px;
}

.slider-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    transform: translateX(-50px);
    opacity: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    transform: translateX(50px);
    opacity: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
.social-link.reddit-link:hover {
    background-color: #FF4500; /* Reddit brand color */
    color: white;
}
.social-link.github-link:hover {
    background-color: #2ea44f; /* GitHub brand green */
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

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

.form-button {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.form-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.recaptcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.recaptcha-modal.active {
    opacity: 1;
    visibility: visible;
}

.recaptcha-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.recaptcha-modal.active .recaptcha-content {
    transform: scale(1);
}

.recaptcha-title {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.recaptcha-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.recaptcha-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.recaptcha-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.recaptcha-btn.secondary {
    background-color: #ddd;
    color: var(--text-dark);
}

.recaptcha-btn:hover {
    transform: translateY(-2px);
}

.recaptcha-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Status Messages */
.form-status {
    margin-top: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.turnstile-error-style {
    color: #e74c3c;
    margin-top: 10px;
    font-size: 14px;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide reCAPTCHA container initially */
.recaptcha-container {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .recaptcha-content {
        padding: 20px;
    }

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


/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    vertical-align: middle;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.footer-logo span {
    color: var(--primary-color);
}

/* Hero Logo */
.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    opacity: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.copy-right {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 20px;
    }

    .left::after, .right::after {
        left: 20px;
    }

    .right {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero h2 {
        font-size: 1.4rem; /* Adjusted responsive size */
    }

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

    .about-image, .about-text {
        transform: translateX(0);
    }

    .contact-info, .contact-form {
        transform: translateX(0);
    }
}
    .contact-info, .contact-form {
        transform: translateX(0);
    }

/* ============================================================
   CONTENT PROTECTION
   ============================================================ */

/* Prevent text/image selection across the page */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only inside the contact form inputs */
.form-input,
.form-input * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent images from being dragged */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none; /* blocks right-click on images */
}

/* Re-enable pointer events for images that are clickable links */
a img,
.certificate-item img,
.portfolio-item img,
.about-image img,
.hero-logo,
.footer-logo img {
    pointer-events: auto;
}