/********** Template CSS **********/

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Smooth Section Transitions */
section,
.container-fluid,
.container-xxl {
    transition: opacity 0.3s ease;
}

/* Enhanced Animation Timing */
.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.slow {
    animation-duration: 1.5s;
}

.animated.slower {
    animation-duration: 2s;
}

/* Custom Smooth Transitions */
.smooth-transition {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar-toggler-icon,
.navbar .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile View - Ensure Black Icon */
@media (max-width: 991.98px) {

    .navbar-toggler-icon,
    .navbar .navbar-toggler-icon,
    .navbar-dark .navbar-toggler-icon,
    .navbar-light .navbar-toggler-icon,
    .navbar-expand-lg .navbar-toggler-icon,
    .navbar-expand-md .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.hero-header .btn-light {
    background-color: #e6f0ff !important;
    color: var(--bs-primary) !important;
    border: 1px solid transparent;
}

.hero-header .btn-light:hover {
    background-color: #cce0ff !important;
    color: var(--bs-primary) !important;
    border-color: #b8daff;
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Pricing ***/
#pricing .bg-white {
    transition: .5s;
}

#pricing .bg-white:hover {
    transform: translateY(-10px);
}

/* Barbie Pricing Card - Elegant Pink Theme */
.barbie-pricing-card {
    background: linear-gradient(145deg, #fff5f9, #ffe8f2);
    border: 2px solid #ffb6d9;
    border-top: 5px solid #ff6bb3 !important;
    border-radius: 0;
    transition: .5s;
}

.barbie-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 179, 0.3) !important;
}

.barbie-badge {
    background: linear-gradient(135deg, #ff6bb3, #ff4d9d);
    transform: translateY(-100%);
    border-radius: 5px 5px 0 0;
}

.barbie-title {
    color: #e91e8c;
    font-weight: 600;
}

.barbie-price {
    color: #d6336c;
}

.barbie-price span {
    color: #ff85c0;
}

.barbie-check {
    background: linear-gradient(135deg, #ff6bb3, #ff4d9d);
    border-radius: 50%;
    padding: 3px;
    font-size: 10px;
}

.barbie-btn {
    background: linear-gradient(135deg, #ff6bb3, #e91e8c);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.barbie-btn:hover {
    background: linear-gradient(135deg, #ff4d9d, #d6336c);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.4);
}

/*** Clients ***/
.client-card {
    background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.client-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #c5c5c5 0%, #a8a8a8 100%);
}

.client-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.client-info {
    padding: 16px 14px 14px;
    text-align: left;
}

.client-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.client-job {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.client-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.client-location {
    color: #6b7280;
    font-size: 0.9rem;
}

.client-location i {
    margin-right: 6px;
    color: #6b7280;
}

.view-btn,
.view-btn:link,
.view-btn:visited {
    display: inline-block;
    padding: 8px 24px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.view-btn:hover,
.view-btn:focus {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .client-img-wrapper {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .client-img-wrapper {
        height: 250px;
    }

    .client-name {
        font-size: 1.1rem;
    }

    .client-stats {
        gap: 12px;
    }

    .follow-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* Card Color Variants */
.client-card.card-blue {
    background: linear-gradient(145deg, #e8f4fc, #d1e9f6);
    border: 2px solid #93c5fd;
}

.client-card.card-blue .client-img-wrapper {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
}

.client-card.card-blue .view-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #2563eb;
    color: #fff;
}

.client-card.card-blue .view-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
    transform: scale(1.05);
}

.client-card.card-blue .client-name {
    color: #1e40af;
}

.client-card.card-blue .client-job {
    color: #2563eb;
}

.client-card.card-pink {
    background: linear-gradient(145deg, #fff0f7, #ffe4f1);
    border: 2px solid #ffb6d9;
}

.client-card.card-pink .client-img-wrapper {
    background: linear-gradient(180deg, #ffb6d9 0%, #ff85c0 100%);
}

.client-card.card-pink .view-btn {
    background: linear-gradient(135deg, #ff6bb3, #ff4d9d);
    border-color: #ff4d9d;
    color: #fff;
}

.client-card.card-pink .view-btn:hover {
    background: linear-gradient(135deg, #ff4d9d, #e91e8c);
    border-color: #e91e8c;
    transform: scale(1.05);
}

.client-card.card-pink .client-name {
    color: #d6336c;
}

.client-card.card-pink .client-job {
    color: #e85a9c;
}

.client-card.card-purple {
    background: linear-gradient(145deg, #f0e8fc, #e1d1f6);
}

.client-card.card-purple .client-img-wrapper {
    background: linear-gradient(180deg, #c4a8f0 0%, #a67be6 100%);
}

.client-card.card-purple .view-btn:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.client-card.card-green {
    background: linear-gradient(145deg, #e8fcf0, #d1f6e1);
    border: 2px solid #86efac;
}

.client-card.card-green .client-img-wrapper {
    background: linear-gradient(180deg, #86efac 0%, #4ade80 100%);
}

.client-card.card-green .view-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #16a34a;
    color: #fff;
}

.client-card.card-green .view-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-color: #15803d;
    transform: scale(1.05);
}

.client-card.card-green .client-name {
    color: #15803d;
}

.client-card.card-green .client-job {
    color: #16a34a;
}

/*** Filtering Modern ***/
.filter-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    transition: .3s;
    color: var(--bs-dark);
}

.filter-tab:hover,
.filter-tab.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.custom-checkbox .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.1em;
    border: 2px solid #ccc;
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.custom-checkbox .form-check-label {
    cursor: pointer;
    font-size: 16px;
    margin-left: 5px;
}

.project-item.hidden {
    display: none !important;
}

/*** Templates Compact ***/
.template-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.template-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.template-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.template-card:hover .template-img-wrapper img {
    transform: scale(1.05);
}

.template-info {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.template-info h6 {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.template-info small {
    font-size: 11px;
}

.template-item.hidden {
    display: none !important;
}

@media (max-width: 991px) {
    .template-img-wrapper {
        height: 150px;
    }
}

@media (max-width: 575px) {
    .template-img-wrapper {
        height: 120px;
    }

    .template-info {
        padding: 8px;
    }

    .template-info h6 {
        font-size: 12px;
    }
}

/*** CV Modal ***/
.cv-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.cv-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
}

.cv-modal-body {
    padding: 0;
}

.cv-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    color: #fff;
}

.cv-header-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.cv-header-pink {
    background: linear-gradient(135deg, #ff6bb3, #e91e8c);
}

.cv-header-purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.cv-header-green {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.cv-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.cv-header-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cv-title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.cv-location {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.cv-location i {
    margin-right: 5px;
}

.cv-contact {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.cv-contact i {
    margin-right: 5px;
}

.cv-content {
    padding: 25px 30px;
}

.cv-section {
    margin-bottom: 25px;
}

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

.cv-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.cv-section h4 i {
    margin-right: 8px;
    color: var(--bs-primary);
}

.cv-section>p {
    color: #6b7280;
    line-height: 1.6;
}

.cv-item {
    margin-bottom: 15px;
}

.cv-item:last-child {
    margin-bottom: 0;
}

.cv-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 3px;
}

.cv-date {
    font-size: 0.8rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 5px;
}

.cv-item p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0;
}

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}

.skill-tag-pink {
    background: linear-gradient(135deg, #ffe4f1, #ffb6d9);
    color: #d6336c;
}

/* Pink Modal Theme */
.cv-modal-pink .cv-section h4 i {
    color: #e91e8c;
}

@media (max-width: 575px) {
    .cv-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .cv-photo {
        width: 100px;
        height: 100px;
    }

    .cv-header-info h2 {
        font-size: 1.5rem;
    }

    .cv-contact {
        flex-direction: column;
        gap: 5px;
    }

    .cv-content {
        padding: 20px;
    }
}