/*-----------------------------------*\
  #style.css (Full with Contact Form enhancements and Carousel)
\*-----------------------------------*/


/**
  * copyright 2022 @codewithsadee
  */


/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
    /* Blue Opal Gradient Bg & Violet Luxury Card Palette */
    --smoky-black: linear-gradient(135deg, #64b6ff 0%, #b6c3f6 100%);
    /* Site gradient BG */
    --bg-gradient-onyx: linear-gradient(135deg, #ece5fb 8%, #e6eafc 60%, #64b6ff 100%);
    --bg-gradient-jet: linear-gradient(120deg, #ccabe7aa 0%, #e6eafc99 100%), #ece5fb;
    --bg-gradient-yellow-1: linear-gradient(90deg, #64b6ff 0%, #a388ee 100%);
    --bg-gradient-yellow-2: linear-gradient(120deg, #64b6ff55 0%, #a388ee99 100%, #ece5fb 100%);
    --border-gradient-onyx: linear-gradient(90deg, #a388ee 0%, #64b6ff 90%);
    --jet: #c5cbe6;
    --onyx: #32205f;
    /* Luxury deep violet text/headings */
    --eerie-black-1: #e6eafc;
    --eerie-black-2: #ece5fb;
    --white-1: #fff;
    --white-2: #f3f3fa;
    --orange-yellow-crayola: #a388ee;
    /* Violet accent */
    --vegas-gold: #8dc6ff;
    /* Soft blue accent */
    --light-gray: #e0dff1;
    --light-gray-70: #e0dff1b3;
    --bittersweet-shimmer: #64b6ff;
    /* CTA blue accent */
    --ff-poppins: 'Poppins', sans-serif;
    --fs-1: 24px;
    --fs-2: 18px;
    --fs-3: 17px;
    --fs-4: 16px;
    --fs-5: 15px;
    --fs-6: 14px;
    --fs-7: 13px;
    --fs-8: 11px;
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --shadow-1: -4px 8px 24px hsla(222, 80%, 88%, 0.12);
    --shadow-2: 0 16px 30px hsla(224, 80%, 80%, 0.17);
    --shadow-3: 0 16px 40px hsla(259, 64%, 74%, 0.12);
    --shadow-4: 0 25px 50px hsla(228, 100%, 60%, 0.10);
    --shadow-5: 0 24px 80px hsla(259, 88%, 96%, 0.13);
    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease-in-out;
    /* Light navbar background gradient */
    --bg-gradient-navbar-light: linear-gradient(135deg, #f6f2fd 8%, #f0ecfe 60%, #dde6ff 100%);
}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img,
ion-icon,
a,
button,
time,
span {
    display: block;
}

button {
    font: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

input,
textarea {
    display: block;
    width: 100%;
    background: none;
    font: inherit;
}

::selection {
    background: var(--orange-yellow-crayola);
    color: #fff;
}

:focus {
    outline-color: var(--orange-yellow-crayola);
}

html {
    font-family: var(--ff-poppins);
}

body {
    min-height: 100vh;
    background: var(--smoky-black);
    color: black;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
    background: var(--eerie-black-2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--shadow-1);
    z-index: 1;
    color: black;
}

.separator {
    width: 100%;
    height: 1px;
    background: var(--jet);
    margin: 16px 0;
}

.icon-box {
    position: relative;
    background: var(--border-gradient-onyx);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: black;
    box-shadow: var(--shadow-1);
    z-index: 1;
}

.icon-box::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--eerie-black-1);
    border-radius: inherit;
    z-index: -1;
}

.icon-box ion-icon {
    --ionicon-stroke-width: 35px;
}

main article {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -9999px;
    left: -9999px;
}


/* Only show the active article */

main article.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    animation: fade 0.5s ease backwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.h2,
.h3,
.h4,
.h5 {
    color: black;
    text-transform: capitalize;
}

.h2 {
    font-size: var(--fs-1);
}

.h3 {
    font-size: var(--fs-2);
}

.h4 {
    font-size: var(--fs-4);
}

.h5 {
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
}

.article-title {
    position: relative;
    padding-bottom: 7px;
}


/* .article-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--bg-gradient-yellow-1);
    border-radius: 3px;
} */


/* Scrollbar styling */

.has-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.has-scrollbar::-webkit-scrollbar-track {
    background: var(--jet);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background: var(--orange-yellow-crayola);
    border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button {
    width: 20px;
}

.content-card {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 15px;
    padding-top: 45px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    z-index: 1;
    color: black;
}

.content-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--bg-gradient-jet);
    border-radius: inherit;
    z-index: -1;
}


/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
    margin: 15px 12px;
    margin-bottom: 100px;
    /* Increased from 75px */
    min-width: 259px;
    color: black;
}


/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
    margin-bottom: 15px;
    max-height: 112px;
    overflow: hidden;
    transition: var(--transition-2);
}

.sidebar.active {
    max-height: 405px;
}

.sidebar-info {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.avatar-box {
    background: var(--bg-gradient-onyx);
    border-radius: 20px;
}

.info-content .name {
    color: rgb(238, 238, 238);
    font-size: var(--fs-3);
    font-weight: var(--fw-500);
    letter-spacing: -0.25px;
    margin-bottom: 10px;
}

.info-content .title {
    color: white;
    background: var(--onyx);
    font-size: var(--fs-8);
    font-weight: var(--fw-300);
    width: max-content;
    padding: 3px 12px;
    border-radius: 8px;
}

.info_more-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    border-radius: 0 15px;
    font-size: 13px;
    color: rgb(255, 255, 255);
    background: var(--border-gradient-onyx);
    padding: 10px;
    box-shadow: var(--shadow-2);
    transition: var(--transition-1);
    z-index: 1;
}

.info_more-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--bg-gradient-jet);
    transition: var(--transition-1);
    z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus {
    background: var(--bg-gradient-yellow-1);
}

.info_more-btn:hover::before,
.info_more-btn:focus::before {
    background: var(--bg-gradient-yellow-2);
}

.info_more-btn span {
    display: none;
}

.sidebar-info_more {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
    opacity: 1;
    visibility: visible;
}

.contacts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info {
    max-width: calc(100% - 46px);
    width: calc(100% - 46px);
    color: black;
}

.contact-title {
    color: black;
    font-size: var(--fs-8);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
    color: black;
    font-size: var(--fs-7);
}

.contact-info address {
    font-style: normal;
}

.social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding-bottom: 4px;
    padding-left: 7px;
}

.social-item .social-link {
    color: black;
    font-size: 18px;
}

.social-item .social-link:hover {
    color: black;
}


/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-gradient-navbar-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jet);
    border-radius: 12px 12px 0 0;
    box-shadow: var(--shadow-2);
    z-index: 5;
}

.navbar-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.navbar-link {
    color: var(--onyx);
    font-size: var(--fs-8);
    padding: 20px 7px;
    transition: color var(--transition-1);
    font-weight: var(--fw-500);
}

.navbar-link:hover,
.navbar-link:focus {
    color: var(--orange-yellow-crayola);
}

.navbar-link.active {
    color: var(--orange-yellow-crayola);
    font-weight: var(--fw-600);
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
    margin-bottom: 15px;
}

.about-text {
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
}


/**
  * #service 
*/

.service {
    margin-bottom: 35px;
}

.service-title {
    margin-bottom: 20px;
}


/* Service Carousel Styles - Wider and Taller */

.service-carousel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    /* This helps align arrows with content */
}

.service-carousel .swiper {
    width: 100%;
    position: relative;
}

.service-carousel .swiper-wrapper {
    align-items: stretch;
}

.service-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}


/* Service Item in Carousel - Wider and Taller */

.service-carousel .service-item {
    width: 100%;
    max-width: 700px;
    height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-carousel .service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(50, 32, 95, 0.4) 0%, rgba(163, 136, 238, 0.3) 100%);
    border-radius: inherit;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-carousel .service-item:hover::before {
    background: linear-gradient(135deg, rgba(50, 32, 95, 0.2) 0%, rgba(163, 136, 238, 0.1) 100%);
}


/* Creative Title Styling */

.creative-title {
    position: relative;
    z-index: 3;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    font-weight: var(--fw-600) !important;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    line-height: 1.2;
    color: white !important;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Service Content Box */

.service-content-box {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}


/* Service Overlay */

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 136, 238, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
    z-index: 4;
}

.service-carousel .service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay ion-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.service-overlay span {
    color: white;
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Enhanced hover effects */

.service-carousel .service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-4);
}


/* Custom Navigation Arrows - Glassmorphism Style */

.carousel-next,
.carousel-prev {
    width: 65px !important;
    height: 65px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    position: absolute !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    /* FIXED POSITIONING FOR INLINE ALIGNMENT */
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* Proper vertical centering */
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}


/* Ripple effect - fixed positioning */

.carousel-next::before,
.carousel-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.carousel-next:hover::before,
.carousel-prev:hover::before {
    width: 100px;
    height: 100px;
    background: rgba(163, 136, 238, 0.2);
}

.carousel-next:hover,
.carousel-prev:hover {
    background: rgba(163, 136, 238, 0.25) !important;
    border-color: rgba(163, 136, 238, 0.6) !important;
    transform: translateY(-50%) scale(1.1) !important;
    /* Maintain centering on hover */
    box-shadow: 0 15px 45px rgba(163, 136, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}


/* Arrow icons - properly centered */

.carousel-next::after,
.carousel-prev::after {
    font-size: 24px !important;
    font-weight: bold !important;
    color: white !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


/* Alternative: If arrows should be inside the carousel container */

.carousel-arrows-inside .carousel-next {
    right: 20px !important;
}

.carousel-arrows-inside .carousel-prev {
    left: 20px !important;
}


/* Alternative: For closer positioning */

.carousel-arrows-close .carousel-next {
    right: -40px !important;
}

.carousel-arrows-close .carousel-prev {
    left: -40px !important;
}


/* Custom Pagination */

.carousel-pagination {
    bottom: 10px !important;
    position: relative !important;
    text-align: center !important;
    margin-top: 40px !important;
}

.carousel-pagination .swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background: rgba(50, 32, 95, 0.4) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.carousel-pagination .swiper-pagination-bullet-active {
    background: var(--orange-yellow-crayola) !important;
    transform: scale(1.4) !important;
}


/* Responsive Design for Carousel */

@media (max-width: 768px) {
    .service-carousel {
        max-width: 550px;
        padding: 30px 0;
    }
    .service-carousel .service-item {
        height: 380px;
        max-width: 500px;
    }
    .carousel-next,
    .carousel-prev {
        width: 50px !important;
        height: 50px !important;
        right: -30px !important;
        /* Adjust for smaller screens */
    }
    .carousel-prev {
        left: -30px !important;
    }
    .carousel-next::after,
    .carousel-prev::after {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .service-carousel {
        max-width: 400px;
    }
    .service-carousel .service-item {
        height: 320px;
        max-width: 380px;
    }
    .carousel-next,
    .carousel-prev {
        width: 40px !important;
        height: 40px !important;
        right: -20px !important;
    }
    .carousel-prev {
        left: -20px !important;
    }
    .carousel-next::after,
    .carousel-prev::after {
        font-size: 14px !important;
    }
    .service-overlay ion-icon {
        font-size: 2.5rem;
    }
    .service-overlay span {
        font-size: var(--fs-7);
    }
    .creative-title {
        font-size: 1.2rem !important;
    }
}


/* Default service list (fallback) */

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-list .service-item {
    width: 100%;
    max-width: 380px;
    justify-self: center;
}


/* Service Item Styles */

.service-item {
    position: relative;
    background: var(--border-gradient-onyx);
    padding: 40px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    z-index: 1;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Remove the blur overlay - keep background sharp */

.service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(50, 32, 95, 0.3) 0%, rgba(163, 136, 238, 0.2) 100%);
    border-radius: inherit;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-item:hover::before {
    background: linear-gradient(135deg, rgba(50, 32, 95, 0.1) 0%, rgba(163, 136, 238, 0.1) 100%);
}


/* Enhanced hover effects */

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-4);
}


/* Legacy service item styles for compatibility */

.service-icon-box {
    margin-bottom: 10px;
}

.service-icon-box img {
    margin: auto;
}

.service-item-title {
    margin-bottom: 7px;
}

.service-item-text {
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}


/**
  * #testimonials 
*/

.testimonials {
    margin-bottom: 30px;
}

.testimonials-title {
    margin-bottom: 20px;
}

.testimonials-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin: 0 -15px;
    padding: 25px 15px;
    padding-bottom: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
}

.testimonials-item {
    min-width: 100%;
    scroll-snap-align: center;
    color: black;
}

.testimonials-avatar-box {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(15px, -25px);
    background: var(--bg-gradient-onyx);
    border-radius: 14px;
    box-shadow: var(--shadow-1);
}

.testimonials-item-title {
    margin-bottom: 7px;
}

.testimonials-text {
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/**
  * #testimonials-modal
*/

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 20;
    pointer-events: none;
    visibility: hidden;
}

.modal-container::-webkit-scrollbar {
    display: none;
}

.modal-container.active {
    pointer-events: all;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: hsl(0, 0%, 5%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-1);
}

.overlay.active {
    opacity: 0.8;
    visibility: visible;
    pointer-events: all;
}

.testimonials-modal {
    background: var(--eerie-black-2);
    position: relative;
    padding: 15px;
    margin: 15px 12px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    box-shadow: var(--shadow-5);
    transform: scale(1.2);
    opacity: 0;
    transition: var(--transition-1);
    z-index: 2;
    color: black;
}

.modal-container.active .testimonials-modal {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--onyx);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-2);
    font-size: 18px;
    opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    opacity: 1;
}

.modal-close-btn ion-icon {
    --ionicon-stroke-width: 50px;
}

.modal-avatar-box {
    background: var(--bg-gradient-onyx);
    width: max-content;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-2);
}

.modal-img-wrapper>img {
    display: none;
}

.modal-title {
    margin-bottom: 4px;
}

.modal-content time {
    font-size: var(--fs-6);
    color: black;
    font-weight: var(--fw-300);
    margin-bottom: 10px;
}

.modal-content p {
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
}


/**
  * #clients 
*/

.clients {
    margin-bottom: 15px;
}

.clients-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin: 0 -15px;
    padding: 25px;
    padding-bottom: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
}

.clients-item {
    min-width: 50%;
    scroll-snap-align: start;
}

.clients-item img {
    width: 100%;
    filter: grayscale(1);
    transition: var(--transition-1);
}

.clients-item img:hover {
    filter: grayscale(0);
}


/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

.article-title {
    margin-bottom: 30px;
}


/**
  * education and experience 
*/

.timeline {
    margin-bottom: 30px;
}

.timeline .title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.timeline-list {
    font-size: var(--fs-6);
    margin-left: 45px;
    color: black;
}

.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child) {
    margin-bottom: 20px;
}

.timeline-item-title {
    font-size: var(--fs-6);
    line-height: 1.3;
    margin-bottom: 7px;
    color: black;
}

.timeline-list span {
    color: black;
    font-weight: var(--fw-400);
    line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -30px;
    width: 1px;
    height: calc(100% + 70px);
    background: var(--jet);
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 18px;
    left: -33px;
    height: 6px;
    width: 6px;
    background: var(--orange-yellow-crayola);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
    color: black;
    font-weight: var(--fw-300);
    line-height: 1.6;
}


/**
  * skills 
*/

.skills-title {
    margin-bottom: 20px;
    color: black;
}

.skills-list {
    padding: 20px;
    color: black;
}

.skills-item:not(:last-child) {
    margin-bottom: 15px;
}

.skill .title-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.skill .title-wrapper data {
    color: black;
    font-size: var(--fs-7);
    font-weight: var(--fw-300);
}

.skill-progress-bg {
    background: var(--jet);
    width: 100%;
    height: 8px;
    border-radius: 10px;
}

.skill-progress-fill {
    background: var(--orange-yellow-crayola);
    height: 100%;
    border-radius: inherit;
}


/* Tools & Technologies Grid */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 25px;
}

.tool-category {
    background: var(--bg-gradient-jet);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--jet);
}

.tool-category-title {
    color: var(--onyx);
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange-yellow-crayola);
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.tool-name {
    color: var(--onyx);
    font-size: var(--fs-7);
    font-weight: var(--fw-400);
}

.tool-proficiency {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.tool-proficiency.expert {
    background: #4CAF50;
}

.tool-proficiency.advanced {
    background: var(--orange-yellow-crayola);
}

.tool-proficiency.intermediate {
    background: #FF9800;
}

.tool-proficiency::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list {
    display: none;
}

.filter-select-box {
    position: relative;
    margin-bottom: 25px;
}

.filter-select {
    background: var(--eerie-black-2);
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

.filter-select.active .select-icon {
    transform: rotate(0.5turn);
}

.select-list {
    background: var(--eerie-black-2);
    position: absolute;
    top: calc(100% + 6px);
    width: 100%;
    padding: 6px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.15s ease-in-out;
}

.filter-select.active+.select-list {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.select-item button {
    background: var(--eerie-black-2);
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    text-transform: capitalize;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
}

.select-item button:hover {
    --eerie-black-2: hsl(240, 2%, 20%);
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 10px;
    color: black;
}

.project-item {
    display: none;
}

.project-item.active {
    display: block;
    animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

.project-item>a {
    width: 100%;
}

.project-img {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    transition: var(--transition-1);
}

.project-item>a:hover .project-img::before {
    background: hsla(0, 0%, 0%, 0.5);
}

.project-item-icon-box {
    --scale: 0.8;
    background: var(--jet);
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale));
    font-size: 20px;
    padding: 18px;
    border-radius: 12px;
    opacity: 0;
    z-index: 1;
    transition: var(--transition-1);
}

.project-item>a:hover .project-item-icon-box {
    --scale: 1;
    opacity: 1;
}

.project-item-icon-box ion-icon {
    --ionicon-stroke-width: 50px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-1);
}

.project-item>a:hover img {
    transform: scale(1.1);
}

.project-title,
.project-category {
    margin-left: 10px;
    color: black;
}

.project-title {
    font-size: var(--fs-5);
    font-weight: var(--fw-400);
    text-transform: capitalize;
    line-height: 1.3;
}

.project-category {
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}


/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts {
    margin-bottom: 10px;
}

.blog-posts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    color: black;
}

.blog-post-item>a {
    position: relative;
    background: var(--border-gradient-onyx);
    height: 100%;
    box-shadow: var(--shadow-4);
    border-radius: 16px;
    z-index: 1;
    color: black;
}

.blog-post-item>a::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--eerie-black-1);
    z-index: -1;
}

.blog-banner-box {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-1);
}

.blog-post-item>a:hover .blog-banner-box img {
    transform: scale(1.1);
}

.blog-content {
    padding: 15px;
    color: black;
}

.blog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: black;
}

.blog-meta :is(.blog-category, time) {
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
}

.blog-meta .dot {
    background: black;
    width: 4px;
    height: 4px;
    border-radius: 4px;
}

.blog-item-title {
    margin-bottom: 10px;
    line-height: 1.3;
    transition: var(--transition-1);
    color: black;
}

.blog-post-item>a:hover .blog-item-title {
    color: black;
}

.blog-text {
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    line-height: 1.6;
    color: black;
}


/*-----------------------------------*\
  #CONTACT - COMPLETELY UPDATED WITH ALL FIXES
\*-----------------------------------*/


/* Contact Page Article - Center all content and fix navbar overlap */

article[data-page="contact"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    /* Added bottom padding */
    min-height: 100vh;
    /* Ensures full viewport height */
    margin-bottom: 0;
    /* Prevents double spacing */
}


/* Fix for Contact Page Title Overlapping with Navbar */

article[data-page="contact"] header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    padding-top: 20px;
}

article[data-page="contact"] .article-title {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-top: 10px;
}

.contact-subtitle {
    text-align: center;
    color: var(--onyx);
    font-size: var(--fs-6);
    font-weight: var(--fw-300);
    margin-top: 10px;
    opacity: 0.8;
}

.contact-intro {
    margin: 30px 0;
    width: 100%;
    max-width: 900px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-gradient-jet);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--jet);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(163, 136, 238, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient-yellow-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.contact-card h4 {
    color: var(--onyx);
    margin-bottom: 8px;
    font-weight: var(--fw-500);
}

.contact-card p {
    color: var(--onyx);
    font-size: var(--fs-7);
    opacity: 0.8;
}

.mapbox {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--jet);
    overflow: hidden;
}

.mapbox figure {
    height: 100%;
}

.mapbox iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1);
}

.contact-form {
    margin-bottom: 10px;
}

.form-title {
    margin-bottom: 20px;
    color: black;
}

.input-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-input {
    color: black;
    font-size: var(--fs-6);
    font-weight: var(--fw-400);
    padding: 13px 20px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    outline: none;
}

.form-input::placeholder {
    font-weight: var(--fw-500);
}

.form-input:focus {
    border-color: var(--orange-yellow-crayola);
}

textarea.form-input {
    min-height: 100px;
    height: 120px;
    max-height: 200px;
    resize: vertical;
    margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer {
    display: none;
}

.form-input:focus:invalid {
    border-color: var(--bittersweet-shimmer);
}

.form-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: var(--fs-6);
    text-transform: capitalize;
    box-shadow: var(--shadow-3);
    z-index: 1;
    transition: var(--transition-1);
}

.form-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: linear-gradient(90deg, #4a0dbb 0%, #1a56d6 100%);
    border-radius: inherit;
    z-index: -1;
    transition: var(--transition-1);
}

.form-btn:hover {
    background: linear-gradient(90deg, #4a0dbb 0%, #1a56d6 100%);
}

.form-btn:hover::before {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
}

.form-btn ion-icon {
    font-size: 16px;
}

.form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-btn:disabled:hover {
    background: var(--border-gradient-onyx);
}

.form-btn:disabled:hover::before {
    background: var(--bg-gradient-jet);
}


/* Enhanced Form Styles */

.enhanced-form-section {
    position: relative;
    margin-top: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-description {
    color: var(--onyx);
    font-size: var(--fs-6);
    opacity: 0.7;
}

.enhanced-form {
    display: grid;
    gap: 25px;
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.enhanced-btn {
    position: relative;
    background: var(--bg-gradient-yellow-1);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow-3);
    margin-bottom: 20px;
}

.enhanced-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.enhanced-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

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

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--onyx);
    font-size: var(--fs-7);
    opacity: 0.7;
}

.privacy-note ion-icon {
    color: var(--orange-yellow-crayola);
}

.contact-footer {
    margin: auto;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-gradient-jet);
    border-radius: 12px;
    border: 1px solid var(--jet);
    width: 100%;
    max-width: 600px;
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--onyx);
    font-size: var(--fs-6);
}

.response-time ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 20px;
}


/* Service Modal Styles */

.service-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.service-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.service-modal {
    background: var(--eerie-black-2);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
    box-shadow: var(--shadow-5);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.service-modal-container.active .service-modal {
    transform: scale(1);
}

.service-modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    background: var(--onyx);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    background: var(--orange-yellow-crayola);
    transform: rotate(90deg);
}

.service-modal-content {
    padding: 30px;
    color: var(--onyx);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: var(--fs-1);
    font-weight: var(--fw-600);
    color: var(--onyx);
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: var(--fs-6);
    color: var(--orange-yellow-crayola);
    font-weight: var(--fw-500);
}

.modal-video {
    width: 40%;
    height: 15%;
    max-width: 600px;
    max-height: 400px;
    display: block;
    margin: 0 auto 25px;
    background: var(--eerie-black-2);
    border: 1px solid var(--jet);
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-3);
}

.modal-image {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    margin: 0 auto 25px;
    display: block;
    box-shadow: var(--shadow-3);
}

.modal-text {
    font-size: var(--fs-6);
    line-height: 1.7;
    color: var(--onyx);
    margin-bottom: 20px;
}

.modal-text strong {
    color: #4B0082;
    font-weight: var(--fw-600);
}

.modal-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--jet);
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}


/*-----------------------------------*\
  #CONTACT FORM ENHANCEMENTS - PERFECTLY CENTERED AND FIXED
\*-----------------------------------*/


/* Contact form section specific styles - Perfectly Centered with Icon Fix */

section[data-form-section] {
    max-width: 700px;
    margin: 50px auto 60px auto;
    padding: 50px 40px;
    background: var(--eerie-black-2);
    border-radius: 20px;
    box-shadow: var(--shadow-3);
    color: black;
    font-family: var(--ff-poppins);
    text-align: center;
    display: block;
    width: 90%;
}

section[data-form-section] .form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
    width: 100%;
}

section[data-form-section] .form-header {
    margin-bottom: 40px;
    text-align: center;
}

section[data-form-section] .form-header .form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--onyx);
}

section[data-form-section] .form-header .form-description {
    font-size: 1rem;
    color: var(--onyx);
    opacity: 0.7;
    margin-bottom: 0;
}


/* Input and Textarea Wrappers - FIXED */

section[data-form-section] .input-wrapper,
section[data-form-section] .textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}


/* Icons - FIXED POSITIONING TO PREVENT OVERLAP */

section[data-form-section] .input-wrapper .input-icon {
    position: absolute;
    left: 18px;
    /* Proper distance from left edge */
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange-yellow-crayola);
    pointer-events: none;
    font-size: 18px;
    z-index: 3;
    /* Higher z-index to stay on top */
}

section[data-form-section] .textarea-wrapper .input-icon {
    position: absolute;
    left: 18px;
    /* Consistent positioning */
    top: 25px;
    /* Fixed position for textarea */
    transform: none;
    color: var(--orange-yellow-crayola);
    pointer-events: none;
    font-size: 18px;
    z-index: 3;
}


/* Input Fields - PROPER PADDING TO AVOID OVERLAP */

section[data-form-section] .styled-input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    /* LEFT PADDING 55px to make room for icon */
    border: 2px solid var(--jet);
    border-radius: 12px;
    background: var(--white-2);
    font-size: var(--fs-6);
    font-family: var(--ff-poppins);
    transition: all 0.3s ease;
    color: var(--onyx);
    font-weight: var(--fw-400);
    box-sizing: border-box;
    /* Important for proper sizing */
}

section[data-form-section] .styled-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    padding: 20px 20px 20px 55px;
    /* LEFT PADDING 55px to make room for icon */
    border: 2px solid var(--jet);
    border-radius: 12px;
    background: var(--white-2);
    font-size: var(--fs-6);
    font-family: var(--ff-poppins);
    transition: all 0.3s ease;
    color: var(--onyx);
    font-weight: var(--fw-400);
    box-sizing: border-box;
}


/* Placeholder Text Styling - Prevent Overlap */

section[data-form-section] .styled-input::placeholder,
section[data-form-section] .styled-textarea::placeholder {
    color: rgba(50, 32, 95, 0.6);
    /* Lighter color so it doesn't compete with icons */
    font-weight: var(--fw-400);
    padding-left: 0;
    /* No additional padding needed */
}


/* Focus States */

section[data-form-section] .styled-input:focus,
section[data-form-section] .styled-textarea:focus {
    outline: none;
    border-color: var(--orange-yellow-crayola);
    box-shadow: 0 0 15px rgba(163, 136, 238, 0.2);
    transform: translateY(-2px);
}


/* Input Highlight Effect */

section[data-form-section] .input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--bg-gradient-yellow-1);
    transition: width 0.3s ease;
    z-index: 1;
    /* Below the input */
}

section[data-form-section] .styled-input:focus+.input-highlight,
section[data-form-section] .styled-textarea:focus+.input-highlight {
    width: 100%;
}


/* Enhanced Button Styling - Centered */

section[data-form-section] .form-footer {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

section[data-form-section] .enhanced-btn {
    position: relative;
    background: var(--bg-gradient-yellow-1);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow-3);
    margin: 0 auto 25px auto;
    /* Center the button */
    min-width: 200px;
    display: inline-block;
}

section[data-form-section] .enhanced-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
}

section[data-form-section] .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

section[data-form-section] .btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

section[data-form-section] .enhanced-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

section[data-form-section] .enhanced-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: var(--light-gray);
    color: var(--jet);
}

section[data-form-section] .enhanced-btn ion-icon {
    font-size: 18px;
}


/* Privacy Note - Centered */

section[data-form-section] .privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--onyx);
    font-size: var(--fs-7);
    opacity: 0.7;
    margin: 0 auto;
}

section[data-form-section] .privacy-note ion-icon {
    color: var(--orange-yellow-crayola);
    font-size: 16px;
}


/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/


/**
  * responsive larger than 450px screen
*/

@media (min-width: 450px) {
    /**
   * client
   */
    .clients-item {
        min-width: calc(33.33% - 10px);
    }
    /**
   * #PORTFOLIO, BLOG 
   */
    .project-img,
    .blog-banner-box {
        height: auto;
    }
    /* Contact page responsive */
    article[data-page="contact"] {
        padding-top: 40px;
    }
    section[data-form-section] {
        margin: 30px auto 50px auto;
        padding: 35px 30px;
        width: 85%;
    }
}


/**
  * responsive larger than 580px screen
*/

@media (min-width: 580px) {
    /**
   * CUSTOM PROPERTY
   */
     :root {
        /**
     * typography
     */
        --fs-1: 32px;
        --fs-2: 24px;
        --fs-3: 26px;
        --fs-4: 18px;
        --fs-6: 15px;
        --fs-7: 15px;
        --fs-8: 12px;
    }
    /**
   * #REUSED STYLE
   */
    .sidebar,
    article {
        width: 520px;
        margin-inline: auto;
        padding: 30px;
        color: black;
    }
    .article-title {
        font-weight: var(--fw-600);
        padding-bottom: 15px;
    }
    .article-title::after {
        margin-top: 0%;
        width: 40px;
        height: 5px;
    }
    .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 18px;
        color: black;
    }
    /**
   * #MAIN
   */
    main {
        margin-top: 60px;
        margin-bottom: 100px;
    }
    /**
   * #SIDEBAR
   */
    .sidebar {
        max-height: 180px;
        margin-bottom: 30px;
    }
    .sidebar.active {
        max-height: 584px;
    }
    .sidebar-info {
        gap: 25px;
    }
    .avatar-box {
        border-radius: 30px;
    }
    .avatar-box img {
        width: 120px;
    }
    .info-content .name {
        margin-bottom: 15px;
        color: black;
    }
    .info-content .title {
        padding: 5px 18px;
        color: rgb(255, 255, 255);
    }
    .info_more-btn {
        top: -30px;
        right: -30px;
        padding: 10px 15px;
        color: black;
    }
    .info_more-btn span {
        display: block;
        font-size: var(--fs-8);
    }
    .info_more-btn ion-icon {
        display: none;
    }
    .separator {
        margin: 32px 0;
    }
    .contacts-list {
        gap: 20px;
    }
    .contact-info {
        max-width: calc(100% - 64px);
        width: calc(100% - 64px);
        color: black;
    }
    /**
   * #NAVBAR
   */
    .navbar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--bg-gradient-navbar-light);
        backdrop-filter: blur(10px);
        border: 1px solid var(--jet);
        border-radius: 12px 12px 0 0;
        box-shadow: var(--shadow-2);
        z-index: 5;
        height: 70px;
        /* Added fixed height */
    }
    .navbar-list {
        gap: 20px;
    }
    .navbar-link {
        --fs-8: 14px;
        color: var(--onyx);
    }
    /**
   * #ABOUT
   */
    .about .article-title {
        margin-bottom: 20px;
        color: black;
    }
    .about-text {
        margin-bottom: 40px;
        color: black;
    }
    /* service */
    .service-item {
        min-height: 250px;
        padding: 50px 30px;
    }
    .creative-title {
        font-size: 1.5rem !important;
    }
    .service-icon-box {
        margin-bottom: 0;
        margin-top: 5px;
    }
    .service-content-box {
        text-align: left;
    }
    /* testimonials */
    .testimonials-title {
        margin-bottom: 25px;
        color: black;
    }
    .testimonials-list {
        gap: 30px;
        margin: 0 -30px;
        padding: 30px;
        padding-bottom: 35px;
    }
    .content-card {
        padding: 30px;
        padding-top: 25px;
        color: black;
    }
    .testimonials-avatar-box {
        transform: translate(30px, -30px);
        border-radius: 20px;
    }
    .testimonials-avatar-box img {
        width: 80px;
    }
    .testimonials-item-title {
        margin-bottom: 10px;
        margin-left: 95px;
        color: black;
    }
    .testimonials-text {
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }
    /* testimonials modal */
    .modal-container {
        padding: 20px;
    }
    .testimonials-modal {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 25px;
        padding: 30px;
        border-radius: 20px;
        color: black;
    }
    .modal-img-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .modal-avatar-box {
        border-radius: 18px;
        margin-bottom: 0;
    }
    .modal-avatar-box img {
        width: 65px;
    }
    .modal-img-wrapper>img {
        display: block;
        flex-grow: 1;
        width: 35px;
    }
    /* clients */
    .clients-list {
        gap: 50px;
        margin: 0 -30px;
        padding: 45px;
        scroll-padding-inline: 45px;
    }
    .clients-item {
        min-width: calc(33.33% - 35px);
    }
    /**
   * #RESUME
   */
    .timeline-list {
        margin-left: 65px;
        color: black;
    }
    .timeline-item:not(:last-child)::before {
        left: -40px;
    }
    .timeline-item::after {
        height: 8px;
        width: 8px;
        left: -43px;
    }
    .skills-item:not(:last-child) {
        margin-bottom: 25px;
    }
    /**
   * #PORTFOLIO, BLOG
   */
    .project-img,
    .blog-banner-box {
        border-radius: 16px;
    }
    .blog-posts-list {
        gap: 30px;
        color: black;
    }
    .blog-content {
        padding: 25px;
        color: black;
    }
    /**
   * #CONTACT
   */
    .mapbox {
        height: 380px;
        border-radius: 18px;
    }
    .input-wrapper {
        gap: 30px;
        margin-bottom: 30px;
    }
    .form-input {
        padding: 15px 20px;
        color: black;
    }
    textarea.form-input {
        margin-bottom: 30px;
    }
    .form-btn {
        --fs-6: 16px;
        padding: 16px 20px;
    }
    .form-btn ion-icon {
        font-size: 18px;
    }
    /* Contact header fix for tablet */
    article[data-page="contact"] header {
        padding-top: 30px;
    }
    article[data-page="contact"] .article-title {
        margin-top: 15px;
        padding-top: 15px;
    }
    /* Contact form centering responsive */
    section[data-form-section] {
        max-width: 650px;
        width: 80%;
        padding: 45px 35px;
    }
}


/**
  * responsive larger than 768px screen
*/

@media (min-width: 768px) {
    /**
   * REUSED STYLE
   */
    .sidebar,
    article {
        width: 700px;
        color: black;
    }
    .has-scrollbar::-webkit-scrollbar-button {
        width: 100px;
    }
    /**
   * SIDEBAR
   */
    .contacts-list {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }
    /**
   * NAVBAR
   */
    .navbar-link {
        --fs-8: 15px;
        color: var(--onyx);
    }
    /**
   * ABOUT
   */
    /* testimonials modal */
    .testimonials-modal {
        gap: 35px;
        max-width: 680px;
    }
    .modal-avatar-box img {
        width: 80px;
    }
    /**
   * PORTFOLIO
   */
    .article-title {
        padding-bottom: 20px;
        color: black;
    }
    .filter-select-box {
        display: none;
    }
    .filter-list {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        padding-left: 5px;
        margin-bottom: 30px;
    }
    .filter-item button {
        color: var(--onyx);
        font-size: var(--fs-5);
        transition: var(--transition-1);
    }
    .filter-item button:hover {
        color: var(--orange-yellow-crayola);
    }
    .filter-item button.active {
        color: var(--orange-yellow-crayola);
    }
    /* portfolio and blog grid */
    .project-list,
    .blog-posts-list {
        grid-template-columns: 1fr 1fr;
        color: black;
    }
    /**
   * CONTACT
   */
    .input-wrapper {
        grid-template-columns: 1fr 1fr;
        color: black;
    }
    .form-btn {
        width: max-content;
        margin-left: auto;
    }
    .enhanced-form {
        grid-template-columns: 1fr 1fr;
    }
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Service responsive */
    .service-list {
        gap: 20px;
        padding: 0 20px;
    }
    .service-modal {
        width: 55vw;
        margin: 20px;
    }
    .service-modal-content {
        padding: 20px;
    }
    .modal-title {
        font-size: var(--fs-2);
    }
    /* Contact header fix for desktop */
    article[data-page="contact"] header {
        padding-top: 40px;
    }
    article[data-page="contact"] .article-title {
        margin-top: 20px;
        padding-top: 20px;
    }
    /* Contact form centering responsive */
    section[data-form-section] {
        max-width: 700px;
        width: 75%;
        margin: 40px auto 60px auto;
    }
    section[data-form-section] .styled-input,
    section[data-form-section] .styled-textarea {
        padding-left: 50px;
    }
    section[data-form-section] .input-icon {
        left: 15px;
        font-size: 16px;
    }
}


/**
  * responsive larger than 1024px screen
*/

@media (min-width: 1024px) {
    /**
   * CUSTOM PROPERTY
   */
     :root {
        /**
     * shadow
     */
        --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
        --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
        --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
    }
    /**
   * REUSED STYLE
   */
    .sidebar,
    article {
        width: 950px;
        box-shadow: var(--shadow-5);
        color: black;
    }
    /**
   * MAIN 
   */
    main {
        margin-bottom: 60px;
        color: black;
    }
    .main-content {
        position: relative;
        width: 100%;
        min-height: 100vh;
        overflow: hidden;
        /* Prevent hidden articles from affecting layout */
    }
    /**
   * NAVBAR
   */
    .navbar {
        position: absolute;
        bottom: auto;
        top: 0;
        left: auto;
        right: 0;
        width: max-content;
        border-radius: 0 20px;
        padding: 0 20px;
        box-shadow: none;
        background: var(--bg-gradient-navbar-light);
    }
    .navbar-list {
        gap: 30px;
        padding: 0 20px;
    }
    .navbar-link {
        font-weight: var(--fw-500);
        color: var(--onyx);
    }
    /**
   * ABOUT
   */
    /* service */
    .service-list {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 25px;
    }
    .service-item {
        min-height: 280px;
    }
    .creative-title {
        font-size: 1.6rem !important;
    }
    /* testimonials */
    .testimonials-item {
        min-width: calc(50% - 15px);
        color: black;
    }
    /* clients */
    .clients-item {
        min-width: calc(25% - 38px);
    }
    /**
   * PORTFOLIO
   */
    .project-list {
        grid-template-columns: repeat(3, 1fr);
    }
    /**
   * BLOG
   */
    .blog-banner-box {
        height: 230px;
    }
    /**
   * CONTACT
   */
    .enhanced-form-section {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    /* Contact header fix for large desktop */
    article[data-page="contact"] header {
        padding-top: 50px;
    }
    article[data-page="contact"] .article-title {
        margin-top: 25px;
        padding-top: 25px;
    }
    /* Contact form centering - desktop */
    section[data-form-section] {
        max-width: 750px;
        width: 70%;
        margin: 50px auto 70px auto;
        padding: 50px 45px;
    }
}


/**
  * responsive larger than 1250px screen
*/

@media (min-width: 1250px) {
    /**
   * RESET
   */
    body::-webkit-scrollbar {
        width: 20px;
    }
    body::-webkit-scrollbar-track {
        background: var(--smoky-black);
    }
    body::-webkit-scrollbar-thumb {
        border: 5px solid var(--smoky-black);
        background: hsla(0, 0%, 100%, 0.1);
        border-radius: 20px;
        box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11), inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
    }
    body::-webkit-scrollbar-thumb:hover {
        background: hsla(0, 0%, 100%, 0.15);
    }
    body::-webkit-scrollbar-button {
        height: 60px;
    }
    /**
   * REUSED STYLE
   */
    .sidebar,
    article {
        width: auto;
        color: black;
    }
    article {
        display: none;
        /* min-height: auto;
        margin-bottom: 30px;
        padding-bottom: 40px;
        Extra padding at bottom */
    }
    /**
   * MAIN
   */
    main {
        max-width: 1200px;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 25px;
        color: black;
    }
    .main-content {
        min-width: 75%;
        width: 75%;
        margin: 0;
    }
    /**
   * SIDEBAR
   */
    .sidebar {
        position: sticky;
        top: 60px;
        max-height: max-content;
        height: 100%;
        margin-bottom: 0;
        padding-top: 60px;
        z-index: 1;
        color: black;
    }
    .sidebar-info {
        flex-direction: column;
    }
    .avatar-box img {
        width: 150px;
    }
    .info-content .name {
        white-space: nowrap;
        text-align: center;
        color: black;
    }
    .info-content .title {
        margin: auto;
        color: white;
    }
    .info_more-btn {
        display: none;
    }
    .sidebar-info_more {
        opacity: 1;
        visibility: visible;
    }
    .contacts-list {
        grid-template-columns: 1fr;
        color: black;
    }
    .contact-info :is(.contact-link) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: black;
    }
    .contact-info :is(.contact-link, time, address) {
        --fs-7: 14px;
        font-weight: var(--fw-300);
        color: black;
    }
    .separator:last-of-type {
        margin: 15px 0;
        opacity: 0;
    }
    .social-list {
        justify-content: center;
        color: black;
    }
    /**
   * RESUME
   */
    .timeline-text {
        max-width: 700px;
        color: black;
    }
    /* Contact header fix for sidebar layout */
    article[data-page="contact"] header {
        padding-top: 30px;
    }
    article[data-page="contact"] .article-title {
        margin-top: 15px;
        padding-top: 15px;
    }
    /* Contact form centering - large desktop */
    section[data-form-section] {
        max-width: 800px;
        width: 65%;
        margin: 60px auto 80px auto;
    }
}