:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #00d4ff;
    /* Cyan/Electric Blue */
    --accent-secondary: #7b2cbf;
    /* Deep Purple */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: #050505;
    /* Solid base for contrast */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    color: #aaa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

.section-padding {
    padding: 100px 0;
}

/* Glassmorphism Card 3D */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.1s ease, box-shadow 0.3s ease, background 0.3s;
    /* Optimized for tilt */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ccc;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    /* Added padding for smaller screens */
}

/* Dynamic Particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: rotate(-3deg);
    transition: 0.5s;
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Typing Effect Cursor */
.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--accent-color);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero p.intro {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: #fff;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #fff;
    transform: translateY(-3px);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.3) 0%, rgba(10, 10, 10, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    animation: pulse 10s infinite alternate;
}

.hero-bg-glow-2 {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
    filter: blur(80px);
    z-index: 1;
    animation: pulse 8s infinite alternate-reverse;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 0rem;
}

.expertise-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
    transform: translateZ(0);
    /* For 3D Tilt */
}

.expertise-item h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.expertise-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Timeline / Experience */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem;
}

.timeline-item span.date {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(123, 44, 191, 0.2);
    color: var(--accent-secondary);
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: #fff;
}

.timeline-item p.location {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #bbb;
}

.timeline-item ul.job-details {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.95rem;
    color: #ccc;
}

.timeline-item ul.job-details li {
    margin-bottom: 0.5rem;
}

.timeline-item ul.cert-list {
    list-style: none;
    padding: 0;
}

.timeline-item ul.cert-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item ul.cert-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Skills Tags */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: scale(1.02);
}

.skill-category h4 {
    color: var(--accent-color);
    text-align: center;
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.skill-tags span {
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: 0.3s;
}

.skill-tags span:hover {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column Layout */
    gap: 3rem;
    /* Larger gap */
}

/* Portfolio Card - Minimalist */
.portfolio-card {
    background: transparent !important;
    /* Remove glass background for clean look */
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.portfolio-thumb {
    width: 100%;
    height: 400px;
    /* Taller images like reference */
    object-fit: cover;
    border-radius: 20px;
    /* Rounded corners */
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.portfolio-card:hover .portfolio-thumb {
    transform: scale(1.02);
    filter: brightness(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-content {
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    /* Horizontal text layout */
    justify-content: space-between;
    align-items: flex-start;
}

.portfolio-text-left {
    flex: 1;
}

.portfolio-card h4 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    /* Larger Title */
    font-weight: 700;
    letter-spacing: -0.5px;
}

.project-category {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.portfolio-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

.visit-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    align-self: flex-start;
}

.visit-btn:hover {
    background: var(--accent-color);
    color: #000;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: 0.3s;
}

.contact-info-item:hover .contact-icon {
    background: var(--accent-color);
    color: #000;
    transform: rotate(360deg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-container,
    .timeline-grid,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Project Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    transform-style: flat !important;
    perspective: none !important;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    padding: 3rem;
    animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.modal-content:hover {
    transform: none !important;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    transform: none !important;
    transform-style: flat !important;
    perspective: none !important;
}

.modal-image {
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    border-radius: 12px;
    transform: none !important;
    transform-style: flat !important;
    perspective: none !important;
    will-change: auto !important;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: none !important;
    transition: none !important;
    transform-style: flat !important;
    perspective: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
}

.modal-info {
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
}

.modal-info h2 {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
}

.modal-info h2::after {
    margin: 10px auto 0;
}

.modal-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
}

/* Hover Overlay Fixes */
.portfolio-card {
    position: relative;
    cursor: pointer;
}

.portfolio-card::before {
    content: 'Click to View Details';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    /* Matching thumb height */
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-card:hover::before {
    opacity: 1;
}

@media (max-width: 992px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 2rem;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-thumb {
        height: 300px;
    }

    .portfolio-card::before {
        height: 300px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-btns .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Testimonials Carousel Section */
.testimonials-swiper {
    padding: 20px 0 60px;
}

.review-screenshot-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease-out;
    position: relative;
    cursor: grab;
    backdrop-filter: blur(10px);
    height: 280px;
    /* Reduced height for horizontal orientation */
    display: flex;
    flex-direction: column;
}

.review-screenshot-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.review-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed to contain to show full screenshot */
    transition: 0.5s;
    background: rgba(255, 255, 255, 0.05);
    /* Lighter background for white screenshots */
    padding: 10px;
    /* Add some breathing room */
}



.review-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-screenshot-card:hover .review-overlay {
    opacity: 1;
}

.review-overlay h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent-color);
}

.review-overlay span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Screenshot Modal Specific Styles */
.screenshot-modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 95vw;
    margin: 2vh auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none !important;
    transition: none !important;
}

#screenshotFullImg {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: none !important;
    transition: none !important;
    pointer-events: none;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 25px;
    border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;

    after {
        font-size: 1.2rem;
    }

    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .review-screenshot-card {
        height: 300px;
    }
}

/* Certifications Section */
.certifications-container {
    margin-top: 5rem !important;
    padding: 0;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease-out;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cert-item:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.cert-flex {
    display: flex;
    align-items: flex-start;
    /* Alignment change for better text flow */
    gap: 18px;
}

.cert-thumb {
    width: 65px;
    height: 65px;
    object-fit: contain;
    /* Contain is better for certificates/badges */
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5px;
    flex-shrink: 0;
}

.cert-icon-alt {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 1.8rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.cert-info h4 {
    font-size: 1.15rem;
    margin: 0 0 6px 0;
    color: #fff;
    line-height: 1.3;
}

.cert-info .issuer {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 5px;
}

.cert-info .date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 5px;
}

.cert-hint {
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: 0.3s;
    opacity: 0;
    font-weight: 500;
}

.cert-item:hover .cert-hint {
    bottom: 12px;
    opacity: 1;
}

@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }

    .certifications-container {
        margin-top: 3rem !important;
    }
}

/* Certifications Swiper Specifics */
.certs-swiper {
    padding-bottom: 50px !important;
    padding-top: 10px !important;
    overflow: visible !important;
}

.certs-swiper .swiper-slide {
    height: auto;
}

.certs-next,
.certs-prev {
    color: var(--accent-color) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: 0.3s !important;
}

.certs-next:hover,
.certs-prev:hover {
    background: var(--accent-color) !important;
    color: #000 !important;
}

.certs-next:after,
.certs-prev:after {
    font-size: 14px !important;
}

.certs-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
}

.certs-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}