:root {
    --qp-violet: #5b4ae8;
    --qp-violet-2: #7c5dfa;
    --qp-indigo: #3d2fa8;
    --qp-bg-start: #0f1028;
    --qp-bg-end: #1a1440;
    --qp-card: rgba(255, 255, 255, 0.07);
    --qp-card-border: rgba(255, 255, 255, 0.12);
    --qp-text: #eef0ff;
    --qp-muted: #b8b9d9;
    --qp-row-a: rgba(91, 74, 232, 0.22);
    --qp-row-b: rgba(124, 93, 250, 0.14);
    --qp-input-bg: rgba(15, 16, 40, 0.65);
    --qp-green: #10b981;
    --qp-green-2: #059669;
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--qp-text);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(124, 93, 250, 0.35), transparent 55%), radial-gradient(900px 500px at 100% 0%, rgba(91, 74, 232, 0.28), transparent 50%), linear-gradient(165deg, var(--qp-bg-start), var(--qp-bg-end));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    padding-bottom: 2rem;
}

.qp-brand-gradient {
    background: linear-gradient(120deg, #c4b5fd, #8b7cf8 40%, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.qp-navbar {
    background: linear-gradient(90deg, rgba(61, 47, 168, 0.55), rgba(91, 74, 232, 0.35)) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--qp-card-border) !important;
    min-height: 72px;
    /* Increased by 20% from Bootstrap's default ~60px */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    position: relative;
    z-index: 1000;
    /* Higher than slider elements */
}

.navbar-brand {
    font-size: 1.25rem;
    padding: 0.5rem 0;
}

.qp-navbar .nav-link {
    color: var(--qp-text) !important;
    font-weight: 500;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.95rem;
}

.qp-navbar .nav-link:hover {
    color: #fff !important;
}


/* Services Submenu Styling */

.qp-navbar .dropdown-menu {
    background: linear-gradient(135deg, rgba(61, 47, 168, 0.8), rgba(91, 74, 232, 0.6)) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 0.5rem;
    z-index: 1050;
    /* Higher than navbar to show above slider */
}

.qp-navbar .dropdown-item {
    color: var(--qp-text) !important;
    padding: 0.5rem 1rem;
}

.qp-navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.qp-panel {
    background: var(--qp-card);
    border: 1px solid var(--qp-card-border);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.qp-panel-header {
    border-bottom: 1px solid var(--qp-card-border);
    padding: 1rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.qp-form-control,
.qp-form-control:focus {
    background: var(--qp-input-bg);
    border: 1px solid var(--qp-card-border);
    color: var(--qp-text);
    border-radius: 0.65rem;
}

.qp-form-control:focus {
    border-color: rgba(196, 181, 253, 0.65);
    box-shadow: 0 0 0 0.2rem rgba(124, 93, 250, 0.25);
}

.form-label {
    color: var(--qp-muted);
    font-size: 0.875rem;
}

.qp-btn-primary {
    background: linear-gradient(120deg, var(--qp-violet-2), var(--qp-violet));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.65rem;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 10px 28px rgba(91, 74, 232, 0.35);
}

.qp-btn-primary:hover {
    filter: brightness(1.08);
    color: #fff;
}

.qp-btn-outline {
    border: 1px solid rgba(196, 181, 253, 0.45);
    color: var(--qp-text);
    background: transparent;
    border-radius: 0.65rem;
    font-weight: 600;
}

.qp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.qp-btn-danger-outline {
    border: 1px solid rgba(248, 113, 113, 0.55);
    color: #fecaca;
    background: transparent;
    border-radius: 0.65rem;
}

.qp-btn-danger-outline:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #fff;
}

.qp-btn-success {
    background: linear-gradient(120deg, var(--qp-green), var(--qp-green-2));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.65rem;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35);
}

.qp-btn-success:hover {
    filter: brightness(1.08);
    color: #fff;
}

.qp-table-wrap {
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--qp-card-border);
}

.qp-table thead th {
    background: linear-gradient(90deg, rgba(61, 47, 168, 0.9), rgba(91, 74, 232, 0.75));
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    padding: 0.85rem 0.65rem;
}

.qp-table tbody tr:nth-child(odd) td {
    background: var(--qp-row-a);
}

.qp-table tbody tr:nth-child(even) td {
    background: var(--qp-row-b);
}

.qp-table td {
    border-color: var(--qp-card-border) !important;
    vertical-align: middle;
    color: var(--qp-text);
}

.qp-table input.cell-input {
    width: 100%;
    background: rgba(15, 16, 40, 0.4);
    border: 1px solid var(--qp-card-border);
    color: var(--qp-text);
    border-radius: 0.45rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
}

.qp-table input.cell-input:focus {
    outline: none;
    border-color: rgba(196, 181, 253, 0.65);
}

.footer {
    border-top: 1px solid var(--qp-card-border);
    color: var(--qp-muted);
    background: rgba(15, 16, 40, 0.5);
}

.text-muted {
    color: var(--qp-muted) !important;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

.alert-danger {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

main.container-fluid {
    max-width: 1400px;
}

.navbar-toggler {
    border-color: var(--qp-card-border);
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* Image Slider Styles */

.qp-slider-section {
    position: relative;
    margin-bottom: 3rem;
}

.qp-slider-container {
    position: relative;
    height: 70vh;
    /* Use viewport height for better responsiveness */
    min-height: 400px;
    /* Ensure minimum height on very small screens */
    max-height: 800px;
    /* Limit maximum height on large screens */
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    max-width: 83.333333%;
    /* Same as col-lg-10 (10/12)*/
    width: 100%;
}

.qp-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.qp-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.qp-slide.active {
    opacity: 1;
    transform: scale(1);
}

.qp-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    /* Changed from cover to prevent stretching */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0f1028;
    /* Add fallback background color */
}

.qp-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 45deg, rgba(15, 16, 40, 0.85) 0%, rgba(91, 74, 232, 0.4) 50%, rgba(124, 93, 250, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Allow clicks to pass through to navigation */
}


/* Enhanced responsive behavior for very wide screens */

@media (min-width: 1600px) {
    .qp-slider-container {
        max-width: 1400px;
        /* Limit maximum width on very wide screens */
    }
}


/* Smart image handling that fills container while preventing distortion */

@media (min-width: 1024px) {
    .qp-slide-image {
        background-size: cover;
        /* Use cover on larger screens where distortion is less noticeable */
        background-position: center center;
    }
}

@media (max-width: 1023px) and (orientation: landscape) {
    .qp-slide-image {
        background-size: cover;
        background-position: center top;
        /* Focus on top content for landscape */
    }
}

@media (max-width: 1023px) and (orientation: portrait) {
    .qp-slide-image {
        background-size: cover;
        background-position: center center;
    }
}


/* Fallback for very small screens */

@media (max-width: 480px) {
    .qp-slide-image {
        background-size: cover;
        background-position: center center;
    }
}

@media (orientation: landscape) {
    .qp-slide-image {
        background-size: contain;
        /* Use contain for landscape to prevent distortion */
    }
}


/* Text panel should be interactive but rest of overlay should be click-through */

.qp-slide-text-panel {
    pointer-events: auto;
}

.qp-slide-content {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.qp-slide-text-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.qp-slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #e8e6ff, #c4b5fd, #8b7cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.qp-slide-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}


/* Slider Navigation */

.qp-slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 20;
    pointer-events: auto;
}


/* Ensure navigation elements are clickable */

.qp-slider-prev,
.qp-slider-next,
.qp-slider-dot {
    pointer-events: auto !important;
}

.qp-slider-prev,
.qp-slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.qp-slider-prev:hover,
.qp-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.qp-slider-dots {
    display: flex;
    gap: 0.75rem;
}

.qp-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qp-slider-dot.active {
    background: var(--qp-violet-2);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(124, 93, 250, 0.6);
}


/* Responsive Design */

@media (max-width: 768px) {
    .qp-slider-container {
        position: relative;
        height: 70vh;
        /* Use viewport height for better responsiveness */
        min-height: 400px;
        /* Ensure minimum height on very small screens */
        max-height: 800px;
        /* Limit maximum height on large screens */
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
        margin: 0 auto;
        max-width: 83.333333%;
        /* Same as col-lg-10 (10/12)*/
        width: 100%;
        /* Enhanced responsiveness */
        aspect-ratio: 16 / 9;
        /* Standard widescreen ratio for better control */
    }
    /* Better responsive approach for various screen sizes */
    @media (max-width: 1200px) {
        .qp-slider-container {
            aspect-ratio: 16 / 10;
        }
    }
    @media (max-width: 768px) {
        .qp-slider-container {
            aspect-ratio: auto;
            /* Let height control work better on mobile */
            max-width: 95%;
            /* Give more space on smaller screens */
        }
    }
    .qp-slide-title {
        font-size: 2rem;
    }
    .qp-slide-desc {
        font-size: 1rem;
    }
    .qp-slide-text-panel {
        padding: 2rem;
    }
    .qp-slider-nav {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .qp-slider-container {
        height: 50vh;
        /* Adjusted viewport height for mobile */
        min-height: 300px;
        max-height: 500px;
    }
    .qp-slide-title {
        font-size: 1.5rem;
    }
    .qp-slide-desc {
        font-size: 0.9rem;
    }
    .qp-slide-text-panel {
        padding: 1.5rem;
    }
}


/* News Marquee Styles */

.qp-marquee-section {
    margin: 2rem 0 3rem 0;
}

.qp-marquee-container {
    background: linear-gradient(90deg, rgba(91, 74, 232, 0.15), rgba(124, 93, 250, 0.1), rgba(91, 74, 232, 0.15));
    border: 1px solid rgba(196, 181, 253, 0.25);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-width: 83.333333%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.qp-marquee-content {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 60px;
}

.qp-marquee-track {
    display: flex;
    align-items: center;
    animation: qp-marquee-scroll 30s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
}

@keyframes qp-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.qp-marquee-track:hover {
    animation-play-state: paused;
}

.qp-marquee-item {
    display: inline-flex;
    align-items: center;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e8e6ff;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.qp-marquee-item:hover {
    color: #fff;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.5);
}

.qp-marquee-item i {
    color: var(--qp-violet-2);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.qp-marquee-item:hover i {
    color: #c4b5fd;
    transform: rotate(15deg) scale(1.2);
}

.qp-marquee-divider {
    color: rgba(196, 181, 253, 0.6);
    font-size: 1.5rem;
    font-weight: 300;
    animation: qp-divider-pulse 2s ease-in-out infinite;
}

@keyframes qp-divider-pulse {
    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.qp-marquee-item strong {
    font-weight: 600;
    background: linear-gradient(120deg, #c4b5fd, #8b7cf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.qp-marquee-item:hover strong {
    background: linear-gradient(120deg, #e8e6ff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
}


/* Enhanced typography for beautiful fonts */

.qp-marquee-item {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}


/* Marquee Pause on Container Hover */

.qp-marquee-container:hover .qp-marquee-track {
    animation-play-state: paused;
}


/* Responsive Marquee */

@media (max-width: 768px) {
    .qp-marquee-container {
        max-width: 95%;
        margin: 0 auto;
    }
    .qp-marquee-item {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    @keyframes qp-marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-150%);
        }
    }
}

@media (max-width: 480px) {
    .qp-marquee-container {
        max-width: 100%;
        border-radius: 0.75rem;
    }
    .qp-marquee-item {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    .qp-marquee-content {
        height: 50px;
    }
    @keyframes qp-marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-200%);
        }
    }
}


/* Footer Styles */

.qp-footer {
    background: linear-gradient(90deg, rgba(61, 47, 168, 0.55), rgba(91, 74, 232, 0.35)) !important;
    backdrop-filter: blur(12px);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}


/* Vertical separators between footer sections */

.qp-footer .col-lg-4:not(:last-child)::after,
.qp-footer .col-lg-3:not(:last-child)::after,
.qp-footer .col-lg-2:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}


/* Make footer columns relatively positioned for separators */

.qp-footer .col-lg-4,
.qp-footer .col-lg-3,
.qp-footer .col-lg-2 {
    position: relative;
}

.qp-footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.qp-footer-contact i {
    width: 16px;
    text-align: center;
}

.qp-footer-links li {
    margin-bottom: 0.5rem;
}

.qp-footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.qp-footer-links a:hover {
    color: var(--qp-violet-2) !important;
    transform: translateX(5px);
}

.qp-map-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    height: 150px;
}

.qp-map-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(60, 60, 80, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qp-map-overlay {
    text-align: center;
    z-index: 2;
}

.qp-map-overlay i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}


/* Responsive Footer */

@media (max-width: 768px) {
    .qp-footer {
        padding: 2rem 0 1rem;
    }
    .qp-footer-logo {
        width: 40px;
        height: 40px;
    }
    .qp-map-container {
        height: 120px;
    }
    /* Hide vertical separators on tablets */
    .qp-footer .col-lg-4::after,
    .qp-footer .col-lg-3::after,
    .qp-footer .col-lg-2::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .qp-footer {
        padding: 1.5rem 0 1rem;
    }
    .qp-footer-logo {
        width: 35px;
        height: 35px;
    }
    /* Ensure columns stack vertically on mobile */
    .qp-footer .col-lg-4,
    .qp-footer .col-lg-3,
    .qp-footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    /* Center align all footer content on mobile */
    .qp-footer .d-flex {
        justify-content: center;
    }
}


/* Violet alert styling for reference page */

.alert-dark.border-secondary {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.15), rgba(123, 95, 250, 0.1)) !important;
    border-color: rgba(196, 181, 253, 0.35) !important;
    color: var(--qp-text) !important;
}


/* Social Media Icons Hover Effects */

.qp-social-media a {
    transition: all 0.3s ease;
    display: inline-block;
}

.qp-social-media a:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.qp-social-media a:hover .fa-linkedin {
    color: #0a66c2 !important;
}

.qp-social-media a:hover .fa-facebook {
    color: #1877f2 !important;
}

.qp-social-media a:hover .fa-twitter {
    color: #1da1f2 !important;
}

.qp-social-media a:hover .fa-github {
    color: #f0f6fc !important;
}

.qp-social-media a:hover .fa-instagram {
    color: #e4405f !important;
}


/* Developer Panel Styles */

.developer-panel {
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(91, 74, 232, 0.15), rgba(124, 93, 250, 0.1)) !important;
    border: 1px solid rgba(196, 181, 253, 0.25) !important;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.developer-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(123, 95, 250, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.developer-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(91, 74, 232, 0.25), 0 0 0 1px rgba(196, 181, 253, 0.3) !important;
    background: linear-gradient(135deg, rgba(91, 74, 232, 0.2), rgba(124, 93, 250, 0.15)) !important;
}

.developer-panel:hover::before {
    opacity: 1;
}


/* Developer Image Styling */

.developer-image-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.3), rgba(139, 124, 248, 0.2));
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.developer-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(196, 181, 253, 0.4);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.developer-panel:hover .developer-image-container {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.4), rgba(139, 124, 248, 0.3));
}

.developer-panel:hover .developer-image {
    border-color: rgba(196, 181, 253, 0.7);
    box-shadow: 0 15px 40px rgba(196, 181, 253, 0.4);
}


/* Developer Content Styling */

.developer-content {
    position: relative;
    z-index: 2;
}

.developer-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #c4b5fd, #8b7cf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.developer-description {
    font-size: 0.95rem;
    color: var(--qp-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 400;
    transition: all 0.3s ease;
}

.developer-panel:hover .developer-description {
    color: #fff;
}


/* Expertise Tags */

.developer-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.3), rgba(124, 93, 250, 0.2));
    color: var(--qp-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(196, 181, 253, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.expertise-tag:hover {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.4), rgba(124, 93, 250, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 74, 232, 0.3);
    color: #fff;
}


/* Responsive Design */

@media (max-width: 768px) {
    .developer-image {
        width: 100px;
        height: 100px;
    }
    .developer-title {
        font-size: 1.3rem;
        text-align: center;
    }
    .developer-description {
        font-size: 0.9rem;
        text-align: center;
    }
    .developer-expertise {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .developer-panel {
        margin-top: 2rem;
    }
    .developer-image {
        width: 80px;
        height: 80px;
    }
    .developer-title {
        font-size: 1.1rem;
    }
    .developer-description {
        font-size: 0.85rem;
    }
}


/* Developer Section with Slider-like Design */

.developer-slider-section {
    position: relative;
    margin-bottom: 3rem;
}

.developer-slider-container {
    position: relative;
    height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    background: rgba(15, 16, 40, 0.8);
}

.developer-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}


/* Full Image on Left */

.developer-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-full-image {
    width: 70%;
    height: 100%;
    object-fit: fill;
}


/* Transparent Text Panel on Right (like index slider) */

.developer-slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-slide-text-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    text-align: center;
}


/* Expertise Tags */

.developer-expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.expertise-tag {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.3), rgba(124, 93, 250, 0.2));
    color: var(--qp-text);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(196, 181, 253, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.expertise-tag:hover {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.4), rgba(124, 93, 250, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 74, 232, 0.3);
    color: #fff;
}


/* Responsive Design */

@media (max-width: 768px) {
    .developer-slider-container {
        height: 400px;
        border-radius: 1rem;
    }
    .developer-slider-wrapper {
        flex-direction: column;
    }
    .developer-slide-content {
        position: relative;
        width: 100%;
        height: 200px;
    }
    .developer-slide-overlay {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
    }
    .developer-slide-text-panel {
        padding: 1.5rem;
        max-width: 100%;
    }
    .qp-slide-title {
        font-size: 1.5rem;
    }
    .qp-slide-desc {
        font-size: 0.9rem;
    }
    .developer-expertise-tags {
        gap: 0.4rem;
    }
    .expertise-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .developer-slider-container {
        height: auto;
        border-radius: 0.75rem;
    }
    .developer-slide-content {
        height: 150px;
    }
    .developer-slide-text-panel {
        padding: 1rem;
    }
    .qp-slide-title {
        font-size: 1.2rem;
    }
    .qp-slide-desc {
        font-size: 0.85rem;
    }
}


/* Developer Profile Section with Oval Floating Frame */

.developer-profile-section {
    margin: 3rem 0 4rem 0;
}

.developer-profile-container {
    max-width: 100%;
    margin: 0 auto;
}

.developer-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(15, 16, 40, 0.7), rgba(91, 74, 232, 0.1));
    border-radius: 2rem;
    border: 1px solid rgba(196, 181, 253, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}


/* Oval Floating Image Frame */

.developer-image-frame {
    flex-shrink: 0;
    position: relative;
}

.oval-image-container {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.3), rgba(139, 124, 248, 0.2), rgba(91, 74, 232, 0.15));
    backdrop-filter: blur(20px);
    border: 3px solid rgba(196, 181, 253, 0.4);
    box-shadow: 0 25px 50px rgba(91, 74, 232, 0.3), 0 0 0 1px rgba(196, 181, 253, 0.3), inset 0 0 30px rgba(196, 181, 253, 0.2);
    transition: all 0.5s ease;
    animation: floating 6s ease-in-out infinite;
}

.developer-oval-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.floating-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient( ellipse at center, rgba(196, 181, 253, 0.2) 0%, rgba(91, 74, 232, 0.1) 40%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.5;
    z-index: -1;
}


/* Hover Effects */

.oval-image-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 35px 70px rgba(91, 74, 232, 0.4), 0 0 0 2px rgba(196, 181, 253, 0.6), inset 0 0 40px rgba(196, 181, 253, 0.3);
    animation-play-state: paused;
}

.oval-image-container:hover .developer-oval-image {
    border-color: rgba(255, 255, 255, 0.5);
    filter: brightness(1.1);
}

.oval-image-container:hover .floating-glow {
    opacity: 0.8;
    animation-duration: 2s;
}


/* Text Panel */

.developer-text-panel {
    flex: 1;
}

.text-panel-content {
    padding: 1rem;
}

.developer-profile-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(120deg, #c4b5fd, #8b7cf8, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.developer-description {
    font-size: 1.1rem;
    color: var(--qp-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
    font-weight: 400;
}


/* Skills Tags */

.developer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.25), rgba(124, 93, 250, 0.15));
    color: var(--qp-text);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(196, 181, 253, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-tag:hover {
    background: linear-gradient(120deg, rgba(91, 74, 232, 0.35), rgba(124, 93, 250, 0.25));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 74, 232, 0.4);
    color: #fff;
}


/* Animations */

@keyframes floating {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}


/* Responsive Design */

@media (max-width: 1024px) {
    .developer-profile-wrapper {
        gap: 2rem;
        padding: 2.5rem;
    }
    .oval-image-container {
        width: 280px;
        height: 280px;
        padding: 6px;
    }
    .text-panel-content {
        padding: 1.5rem;
    }
    .developer-profile-title {
        font-size: 1.7rem;
    }
    .developer-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .developer-profile-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    .oval-image-container {
        width: 240px;
        height: 240px;
        padding: 4px;
        margin: 0 auto;
    }
    .text-panel-content {
        padding: 1rem;
    }
    .developer-profile-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .developer-description {
        text-align: center;
        font-size: 0.95rem;
    }
    .developer-skills {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .developer-profile-wrapper {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    .oval-image-container {
        width: 200px;
        height: 200px;
        padding: 3px;
    }
    .text-panel-content {
        padding: 0.5rem;
    }
    .developer-profile-title {
        font-size: 1.3rem;
    }
    .developer-description {
        font-size: 0.9rem;
    }
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}