@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
    --bs-primary: #7F25F6;
    --bs-primary-rgb: 156, 15, 166;
    --color-secondary: #5452FC;
    --color-tertiary: #5452FC;
    --color-accent: #D3153D;
    --color-accent-rgb: 211, 21, 61;
    --gradient-primary: linear-gradient(135deg, #9C0FA6 0%, #5452FC 100%);
    --gradient-secondary: linear-gradient(135deg, #5452FC 0%, #9C0FA6 100%);
    --gradient-accent: linear-gradient(135deg, #D3153D 0%, #FF5757 100%);
}

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

html {
    overflow-x: clip;
}

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: clip;
    margin: 0;
    padding: 0;
}

p, h1, h2, h3, h4, h5, h6, span, a, .lead, div {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 3rem;
}

.btn-primary::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 10px;
    background: url('../assets/img/shape/arrow.svg') no-repeat center;
    background-size: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9C0FA6 0%, #D3153D 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(211, 21, 61, 0.5);
}

.btn-primary:hover::after {
    right: 0.7rem;
}

.badge.bg-primary {
    background: var(--gradient-accent) !important;
}

.badge-accent {
    background: var(--gradient-accent) !important;
    color: white !important;
    border: none;
    box-shadow: 0 4px 12px rgba(211, 21, 61, 0.5);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-black {
    color: #000000 !important;
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-outline-light {
    position: relative;
    padding-right: 3rem;
}

.btn-outline-light::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 10px;
    background: url('../assets/img/shape/arrow.svg') no-repeat center;
    background-size: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--bs-primary);
    border-color: white;
}

.btn-outline-light:hover::after {
    right: 0.7rem;
    filter: brightness(0) invert(0.5);
}

.btn-light {
    position: relative;
    padding-right: 3rem;
}

.btn-light::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 10px;
    background: url('../assets/img/shape/arrow.svg') no-repeat center;
    background-size: contain;
    filter: brightness(0);
    transition: all 0.3s ease;
}

.btn-light:hover::after {
    right: 0.7rem;
}

html {
    scroll-behavior: smooth;
}

a, button, .btn {
    transition: all 0.3s ease;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    width: 100%;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand .brand-text {
    letter-spacing: 1px;
}

.navbar-brand .brand-text .text-black {
    color: #000000 !important;
}

.navbar-brand .brand-text .brand-subtitle {
    font-weight: 400;
    letter-spacing: -0.4px;
    color: #464646 !important;
    font-size: 1.2rem;
}

.navbar-brand:hover .brand-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover .brand-text .text-black {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    color: #000000 !important;
}

.navbar-brand:hover .brand-text .brand-subtitle {
    font-weight: 400;
    background: linear-gradient(90deg, #000000 0%, #5452FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1.2rem !important;
    color: #000000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent) !important;
}

.navbar-phone {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bs-primary);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.navbar-phone i {
    transition: transform 0.3s ease;
}

.navbar-phone:hover i {
    transform: scale(1.2);
}

.navbar-phone:hover {
    background: linear-gradient(135deg, #9C0FA6 0%, #D3153D 100%);
    color: white !important;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.nav-item .btn-primary {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.nav-item .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 15, 166, 0.4);
}

.vl-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.vl-offcanvas.active {
    right: 0;
}

.vl-offcanvas::-webkit-scrollbar {
    width: 6px;
}

.vl-offcanvas::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.vl-offcanvas::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 10px;
}

.vl-offcanvas::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

.vl-offcanvas-wrapper {
    padding: 30px;
}

.vl-offcanvas-header {
    margin-bottom: 40px;
}

.vl-offcanvas-logo img {
    height: 35px;
    transition: transform 0.3s ease;
}

.vl-offcanvas-logo a:hover img {
    transform: scale(1.05);
}

.offcanvas-brand-text {
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.3rem;
}

.offcanvas-brand-text .text-black {
    color: #000000 !important;
    background: none !important;
}

.offcanvas-brand-subtitle {
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #000000 0%, #9C0FA6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vl-offcanvas-close-toggle {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.vl-offcanvas-close-toggle:hover {
    background: #f8f9fa;
    color: var(--bs-primary);
    transform: rotate(90deg);
}

.vl-offcanvas-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vl-offcanvas-menu nav ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.vl-offcanvas-menu nav ul li a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.vl-offcanvas-menu nav ul li a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.vl-offcanvas-menu nav ul li a:hover {
    color: var(--bs-primary);
    padding-left: 10px;
}

.vl-offcanvas-menu nav ul li a:hover::before {
    width: 5px;
}

.vl-footer-contact3 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.vl-footer-contact3 h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.single-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.single-contact-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(-5px);
}

.single-contact-item .icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(211, 21, 61, 0.4);
}

.single-contact-item .icon i {
    font-size: 18px;
    color: white;
}

.single-contact-item .text {
    flex: 1;
}

.single-contact-item .text a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.single-contact-item .text a:hover {
    color: var(--bs-primary);
}

.vl-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.vl-offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid #000000;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #000000;
    border-color: #000000;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #000000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: white;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 13px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 29px;
}

@media (max-width: 1199px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-phone {
        display: none !important;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

.hero-section {
    background-image: url('../assets/img/shape/16.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    overflow: hidden;
    padding: 40px 0 125px 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('../assets/img/shape/map.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.section-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    line-height: 0;
    pointer-events: none;
}

.section-divider img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
}

#services {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

#services::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 100%;
    background-image: url('../assets/img/shape/angle.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    transform: rotate(180deg);
    z-index: 0;
    pointer-events: none;
}

#services .container {
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.service-card.featured h4,
.service-card.featured p {
    color: white;
}

.service-card.featured .service-icon {
    background: rgba(255,255,255,0.2);
}

.service-card.featured .text-primary {
    color: white !important;
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 30px;
}

.service-badge .badge {
    font-weight: 600;
    padding: 8px 16px;
    font-size: 0.75rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-features li {
    padding: 8px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover {
    box-shadow: 0 10px 30px rgba(211, 21, 61, 0.4);
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(156, 15, 166, 0.5) 0%, rgba(211, 21, 61, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

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

.portfolio-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content .btn {
    padding-right: 1.5rem !important;
}

.portfolio-content .btn::after {
    display: none;
}

@media (max-width: 768px) {
    .portfolio-overlay {
        opacity: 1;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 30px;
    }
    
    .portfolio-content {
        transform: translateY(0);
    }
}

.about-image {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid transparent;
    background-clip: padding-box;
}


.about-badge h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #9C0FA6 0%, #D3153D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 21, 61, 0.4);
}

.feature-icon-small i {
    font-size: 20px;
    color: white;
}

.cta-section {
    background: linear-gradient(135deg, #9C0FA6 0%, #5452FC 60%, #D3153D 100%);
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/shape/angle.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

#contact {
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/shape/map.svg');
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 28px;
    color: white;
}

.footer {
    background-color: #1a1a2e;
    color: white;
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
}

.footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--bs-primary) !important;
}

.text-anime-style-1,
.text-anime-style-2,
.text-anime-style-3 {
    word-break: keep-all;
    overflow-wrap: break-word;
    display: block;
    width: 100%;
}

.text-anime-style-1,
.text-anime-style-2,
.text-anime-style-3 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 990px) {
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0 50px 0;
    }
    
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .navbar-brand .brand-text .brand-subtitle {
        font-size: 0.75rem;
        letter-spacing: -0.2px;
    }
    
    .vl-offcanvas {
        width: 100%;
        max-width: 100%;
    }
    
    .section-divider {
        height: 50px;
    }
    
    .btn-primary::after,
    .btn-outline-light::after,
    .btn-light::after {
        width: 16px;
        height: 8px;
    }
    
    #services::before,
    #contact::before {
        opacity: 0.02;
    }

    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .vl-offcanvas-wrapper {
        padding: 20px;
    }
    
    .vl-footer-contact3 h4 {
        font-size: 1.1rem;
    }
    
    .single-contact-item {
        padding: 12px;
    }
    
    .navbar-brand .brand-text .brand-subtitle {
        font-size: 1rem;
    }
    
    .offcanvas-brand-text {
        font-size: 1.1rem;
    }
    
    .offcanvas-brand-subtitle {
        font-size: 0.7rem;
    }
    
    .hero-section {
        padding: 10px 0 120px 0;
    }
}