/********** Template CSS **********/
:root {
    --bs-primary: #d4a017;
    --bs-secondary: #111111;
    --bs-light: #f7f2e3;
    --bs-dark: #050505;
    --bs-tertiary: #636363;
    --brand-gold: #d4a017;
    --brand-gold-soft: #f2cb57;
    --brand-charcoal: #151515;
    --brand-cream: #f7f2e3;
    --brand-shadow: rgba(212, 160, 23, .24);
}

body {
    color: #5f5a4f;
    background:
        radial-gradient(circle at top left, rgba(242, 203, 87, .16), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #f5efe0 100%);
}

.bg-primary {
    background: linear-gradient(135deg, #1b1b1b 0%, #0a0a0a 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #171717 0%, #090909 100%) !important;
}

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

.text-secondary {
    color: var(--brand-cream) !important;
}

.btn-primary {
    color: #111 !important;
    background: linear-gradient(135deg, var(--brand-gold-soft) 0%, var(--brand-gold) 100%);
    border-color: var(--brand-gold);
    box-shadow: 0 10px 24px var(--brand-shadow);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #111 !important;
    background: linear-gradient(135deg, #ffd766 0%, #e0aa19 100%);
    border-color: #e0aa19;
}

.btn-secondary {
    color: var(--brand-cream) !important;
    background: linear-gradient(135deg, #292929 0%, #101010 100%);
    border-color: #2d2d2d;
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #343434 0%, #161616 100%);
    border-color: #444;
}

.form-control:focus {
    border-color: rgba(212, 160, 23, .5);
    box-shadow: 0 0 0 .25rem rgba(212, 160, 23, .18);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 2rem;
    background: linear-gradient(135deg, #ffd766 0%, var(--brand-gold) 100%);
    border: 2px solid rgba(17, 17, 17, .1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22), 0 0 0 8px rgba(212, 160, 23, .18);
    z-index: 100;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #111;
    transform: translateY(-4px) scale(1.04);
    background: linear-gradient(135deg, #ffe08c 0%, #e0aa19 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28), 0 0 0 10px rgba(212, 160, 23, .22);
}

.whatsapp-float i {
    line-height: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 18px;
        bottom: 88px;
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
    }
}

.fw-bold {
    font-weight: 800 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 600;
    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;
}

.footer-social-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, .12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.footer-social-btn i {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-social-btn:hover,
.footer-social-btn:focus {
    transform: translateY(-2px);
}


/*** Nav Bar ***/
.navbar-wrap {
    background:
        radial-gradient(circle at top center, rgba(212, 160, 23, .08), transparent 42%),
        linear-gradient(180deg, rgba(18, 18, 18, .96) 0%, rgba(12, 12, 12, .78) 58%, rgba(12, 12, 12, 0) 100%);
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.navbar {
    position: relative;
    overflow: visible;
    padding: 10px 22px !important;
    border-radius: 22px !important;
    min-height: 102px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
    border: 1px solid rgba(212, 160, 23, .22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 50% 0%, rgba(212, 160, 23, .12), transparent 42%),
        linear-gradient(135deg, #191919 0%, #0b0b0b 52%, #171717 100%) !important;
    backdrop-filter: blur(8px);
}

.navbar > * {
    position: relative;
    z-index: 1;
}

.navbar::before,
.navbar::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 180px;
    height: 56px;
    transform: translateY(-50%);
    opacity: .44;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    border-radius: 18px;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(212, 160, 23, .08));
}

.navbar::before {
    left: 14px;
    background-image:
        linear-gradient(90deg, rgba(212, 160, 23, .24) 0 60%, transparent 60% 100%),
        linear-gradient(90deg, transparent 0 20%, rgba(212, 160, 23, .36) 20% 22%, transparent 22% 100%),
        linear-gradient(90deg, transparent 0 38%, rgba(212, 160, 23, .28) 38% 40%, transparent 40% 100%);
    background-position: left 8px top 16px, left top 28px, left 12px top 40px;
    background-size: 120px 1px, 150px 1px, 132px 1px;
}

.navbar::after {
    right: 14px;
    background-image:
        linear-gradient(90deg, transparent 0 40%, rgba(212, 160, 23, .28) 40% 100%),
        linear-gradient(90deg, transparent 0 60%, rgba(212, 160, 23, .36) 60% 62%, transparent 62% 100%),
        linear-gradient(90deg, transparent 0 22%, rgba(212, 160, 23, .28) 22% 24%, transparent 24% 100%);
    background-position: right 14px top 14px, right top 28px, right 18px top 42px;
    background-size: 120px 1px, 156px 1px, 126px 1px;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin: 0 8px;
    padding: 12px 14px;
    outline: none;
    font-size: 17px;
    font-weight: 600;
    color: rgba(247, 242, 227, .92);
    text-shadow: 0 0 14px rgba(0, 0, 0, .45);
    border-radius: 14px;
    transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-gold-soft) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(242, 203, 87, .55);
    transition: width .28s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--brand-gold-soft);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, .08);
}

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

.navbar-brand {
    background: transparent !important;
    border: none;
    box-shadow: none;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 0 24px 0 4px !important;
}

.navbar-brand img {
    display: block;
    filter: drop-shadow(0 14px 24px rgba(212, 160, 23, .34)) contrast(1.12) saturate(1.08);
}

.navbar-logo {
    height: 86px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
}

.navbar-collapse {
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
    border-radius: 18px;
    padding-left: 14px;
    padding-right: 14px;
}

.navbar .navbar-nav {
    align-items: center;
    margin-left: auto;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 7 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);
}

.dropdown-menu {
    background: linear-gradient(180deg, #1b1b1b 0%, #101010 100%) !important;
    border: 1px solid rgba(212, 160, 23, .16);
    box-shadow: 0 22px 42px rgba(0, 0, 0, .32);
    border-radius: 16px;
    padding: 10px;
    z-index: 1001;
}

.dropdown-item {
    color: rgba(247, 242, 227, .88);
    border-radius: 10px;
    padding: 10px 14px;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 8px 12px !important;
        border-radius: 18px !important;
    }

    .navbar::before,
    .navbar::after {
        display: none;
    }

    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 12px 14px;
    }

    .navbar-logo {
        height: 70px;
        max-width: 280px;
    }
}

@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;
    }
}

/*** Header ***/
.header-carousel .carousel-item img {
    height: 420px;
    object-fit: contain;
    background-color: #0a0a0a;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
}

@media (max-width: 768px) {
    .header-carousel .carousel-item img {
        height: 260px;
    }

    .phone-repair-overlay,
    .phone-repair-content {
        padding: 28px 22px;
    }

    .phone-repair-card img {
        height: 170px;
    }

    .phone-repair-thumb {
        height: 90px;
    }

    .software-overlay,
    .software-content {
        padding: 28px 22px;
    }

    .software-card img {
        height: 170px;
    }

    .software-thumb {
        height: 90px;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 6px;
    background: var(--brand-charcoal);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** Service ***/
.service-item {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(250, 245, 232, .98) 100%);
    border: 1px solid rgba(212, 160, 23, .14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    transition: .5s;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

.service-item a {
    position: relative;
    display: inline-block;
    font-weight: 600;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0px;
    border-bottom: 2px solid var(--bs-primary);
    transition: .5s;
}

.service-item a:hover {
    color: var(--brand-charcoal);
}

.service-item a:hover::after {
    border-color: var(--brand-charcoal);
}

.phone-repair-section {
    background: linear-gradient(135deg, rgba(17, 17, 17, .98) 0%, rgba(27, 27, 27, .94) 45%, rgba(245, 239, 224, .96) 45%, rgba(255, 252, 244, .98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
    border: 1px solid rgba(212, 160, 23, .14);
}

.phone-repair-hero {
    position: relative;
    min-height: 100%;
}

.phone-repair-hero img {
    min-height: 100%;
    object-fit: cover;
}

.phone-repair-overlay {
    position: absolute;
    inset: 0;
    padding: 48px 40px;
    background: linear-gradient(180deg, rgba(5, 5, 5, .38) 0%, rgba(5, 5, 5, .82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.phone-repair-content {
    padding: 42px;
}

.phone-repair-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(212, 160, 23, .16);
    color: #fff8e7;
    border: 1px solid rgba(242, 203, 87, .26);
    font-weight: 600;
}

.phone-repair-card {
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
}

.phone-repair-card img,
.phone-repair-thumb {
    object-fit: cover;
}

.phone-repair-card img {
    height: 190px;
    width: 100%;
}

.phone-repair-highlight {
    background: linear-gradient(135deg, rgba(212, 160, 23, .12) 0%, rgba(255, 248, 229, .9) 100%);
    border: 1px solid rgba(212, 160, 23, .16);
    border-radius: 20px;
    padding: 24px;
}

.phone-repair-mini {
    background: rgba(255, 255, 255, .88);
    padding: 16px;
    height: 100%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
}

.phone-repair-mini strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
}

.phone-repair-mini span {
    display: block;
    color: #5f5a4f;
}

.phone-repair-thumb {
    height: 120px;
    width: 100%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.software-spotlight {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, .18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(78, 176, 255, .16), transparent 24%),
        linear-gradient(135deg, #0d0d16 0%, #16162b 52%, #f8f5eb 52%, #fffdf7 100%);
    border: 1px solid rgba(212, 160, 23, .16);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .16);
}

.software-panel {
    position: relative;
    min-height: 100%;
}

.software-panel img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.software-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 48px 40px;
    background: linear-gradient(180deg, rgba(7, 8, 18, .22) 0%, rgba(7, 8, 18, .88) 100%);
}

.software-content {
    padding: 42px;
}

.software-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #f8f5eb;
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 600;
}

.software-card {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3e8 100%);
    border: 1px solid rgba(212, 160, 23, .14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .08);
}

.software-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.software-card-body {
    padding: 22px;
}

.software-insight {
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(212, 160, 23, .12) 0%, rgba(255, 255, 255, .92) 100%);
    border: 1px solid rgba(212, 160, 23, .16);
}

.software-metric {
    height: 100%;
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .05);
}

.software-metric strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
}

.software-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .08);
}

.list-group-item {
    background-color: transparent;
}

.form-floating > .form-control,
.form-floating > textarea.form-control {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(212, 160, 23, .16);
}

.logo-showcase {
    min-height: 400px;
    background:
        radial-gradient(circle at left center, rgba(242, 203, 87, .18), transparent 32%),
        linear-gradient(135deg, #171717 0%, #070707 100%);
    border: 1px solid rgba(212, 160, 23, .2);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .18);
}

.logo-showcase img {
    max-height: 280px;
    width: auto;
    filter: drop-shadow(0 14px 24px rgba(212, 160, 23, .18));
}

.bg-secondary.rounded,
.navbar.navbar-dark.bg-secondary,
.header-carousel.bg-secondary {
    border: 1px solid rgba(212, 160, 23, .12);
}


/*** Footer ***/
.footer {
    color: rgba(255, 255, 255, .5);
    background:
        linear-gradient(135deg, rgba(212, 160, 23, .08), transparent 35%),
        linear-gradient(135deg, #111111 0%, #050505 100%);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer-phone,
.footer-phone a {
    color: var(--brand-gold) !important;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
}

.footer-phone i {
    color: rgba(255, 255, 255, .5) !important;
}

.footer-phone a:hover,
.footer-phone a:focus {
    color: var(--brand-gold-soft) !important;
    text-decoration: none;
}

.footer .fa-envelope + a,
.footer a[href^="mailto:"] {
    color: var(--brand-gold) !important;
    font-weight: 700;
    text-decoration: none;
}

.footer .fa-envelope + a:hover,
.footer .fa-envelope + a:focus,
.footer a[href^="mailto:"]:hover,
.footer a[href^="mailto:"]:focus {
    color: var(--brand-gold-soft) !important;
    text-decoration: none;
}


/*** Copyright ***/
.copyright {
    color: rgba(255, 255, 255, .5);
    background: #050505;
    border-top: 1px solid rgba(212, 160, 23, .2);
}
