/* ==========================================================================
   SIP — brand overrides on top of the base landing template
   (loaded AFTER style.css). Brand colour: #800020 (burgundy).
   ========================================================================== */

:root {
    --sip-primary: #800020;
    --sip-primary-dark: #5c0017;
    --sip-primary-deep: #3a000e;
    --sip-primary-soft: #f6e3e7;
    --sip-sand: #d8b998;
    --sip-cream: #faf6f1;
    --sip-ink: #2a1f21;
    --sip-muted: #6b5f61;
}

/* ---------- Typography ------------------------------------------------- */

body,
p,
.card-title,
.rounded-pill,
.main-heading,
.sub-heading,
.navbar .nav-item a.nav-link,
.outer-window .nav-link {
    font-family: 'Tajawal', 'Roboto', 'Segoe UI', sans-serif;
}

body {
    background-color: #fff;
    color: var(--sip-ink);
    overflow-x: hidden;
}

.grey-color {
    color: var(--sip-ink);
}

.main-heading.grey-color {
    color: var(--sip-primary);
}

/* ---------- Navbar ------------------------------------------------------ */

.navbar.fixed-menu {
    background-color: var(--sip-primary) !important;
    box-shadow: 0 6px 24px rgba(58, 0, 14, .25);
}

.inner-window {
    background-color: var(--sip-primary) !important;
}

.navbar-light .navbar-nav .nav-link.active {
    border-color: var(--sip-sand);
    color: #fff;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--sip-sand);
}

.outer-window .nav-link:hover {
    color: var(--sip-sand);
}

.logo .sip-logo {
    height: 46px;
    width: auto;
    display: block;
}

.logo-small .sip-logo {
    height: 52px;
    width: auto;
    margin-top: 16px;
    margin-inline-start: 20px;
}

.logo-small img {
    margin: 0;
}

/* ---------- Hero -------------------------------------------------------- */

.bg-header {
    background-color: var(--sip-primary) !important;
    background-image: linear-gradient(135deg, #9a0a2e 0%, var(--sip-primary) 45%, var(--sip-primary-deep) 100%);
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 0;
    margin-bottom: 90px;
    height: auto !important;
    position: relative;
    overflow: hidden;
}

/* warm glow behind the phone */
.bg-header::after {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 185, 152, .28) 0%, rgba(216, 185, 152, 0) 70%);
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.bg-header .row,
.bg-header .header-text,
.bg-header .mobile-img {
    position: relative;
    z-index: 1;
}

.bg-header .header-text {
    margin-top: 9%;
}

.bg-header .sip-hero-logo {
    height: 110px;
    width: auto;
    margin-bottom: 10px;
}

.bg-header .main-heading {
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
}

.bg-header .sub-heading {
    font-weight: 400;
    line-height: 1.9;
    opacity: .92;
    color: #fff;
}

.sip-hero-actions {
    margin-top: 34px;
}

.sip-hero-actions .sip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 190px;
    padding: 13px 26px;
    margin: 6px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.sip-hero-actions .sip-btn-solid {
    background: #fff;
    color: var(--sip-primary);
    border: 2px solid #fff;
}

.sip-hero-actions .sip-btn-solid:hover {
    background: var(--sip-sand);
    border-color: var(--sip-sand);
    color: var(--sip-primary-deep);
}

.sip-hero-actions .sip-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
}

.sip-hero-actions .sip-btn-ghost:hover {
    background: #fff;
    color: var(--sip-primary);
    border-color: #fff;
}

.sip-hero-actions .sip-btn i {
    font-size: 21px;
}

/* phones peeking out of the bottom of the hero */
.sip-hero-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 22px;
    margin-top: 56px;
}

.sip-phone {
    width: 250px;
    border-radius: 34px 34px 0 0;
    border: 8px solid #1b1214;
    border-bottom: 0;
    background: #1b1214;
    overflow: hidden;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, .35);
    height: 420px;
}

.sip-phone img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 26px 26px 0 0;
}

.sip-phone.is-side {
    width: 210px;
    height: 340px;
    opacity: .9;
}

@media (max-width: 767px) {
    .sip-phone.is-side {
        display: none;
    }
}

/* ---------- Features ---------------------------------------------------- */

#services {
    padding-bottom: 90px;
}

.feature-icon {
    background-color: var(--sip-primary) !important;
    background-image: linear-gradient(135deg, #a0123a 0%, var(--sip-primary-dark) 100%) !important;
    box-shadow: 1px 4px 14px rgba(128, 0, 32, .35);
}

.media-element .line {
    background-color: var(--sip-primary) !important;
    background-image: linear-gradient(135deg, #a0123a 0%, var(--sip-primary-dark) 100%) !important;
}

.media-element .media:hover {
    border-color: var(--sip-primary-soft);
    box-shadow: 1px 4px 18px rgba(128, 0, 32, .2);
}

.media-element .media-body p {
    line-height: 1.9;
    color: var(--sip-muted);
}

/* ---------- How it works ------------------------------------------------ */

.sip-steps {
    padding: 0 0 90px;
}

.sip-step {
    text-align: center;
    padding: 28px 18px;
    border-radius: 22px;
    background: var(--sip-cream);
    border: 1px solid #efe4da;
    height: 100%;
}

.sip-step-num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sip-primary);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(128, 0, 32, .3);
}

.sip-step h4 {
    font-weight: 700;
    color: var(--sip-primary);
    font-size: 19px;
}

.sip-step p {
    color: var(--sip-muted);
    line-height: 1.8;
    margin: 0;
}

/* ---------- Screenshots ------------------------------------------------- */

.screenshots {
    background: var(--sip-cream);
    padding: 90px 0;
    margin-bottom: 0 !important;
}

.owl-carousel .item img {
    border-radius: 22px;
    border: 1px solid #ecdcd2;
    box-shadow: 0 14px 34px rgba(58, 0, 14, .14);
    width: 100%;
    height: auto;
    background: #fff;
}

.owl-carousel .item {
    padding: 12px 6px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--sip-primary) !important;
}

/* ---------- Store ------------------------------------------------------- */

.store,
#store {
    padding: 90px 0;
    margin: 0 !important;
}

.store .sip-store-logo {
    height: 90px;
    width: auto;
}

.get-btn {
    border: 2px solid var(--sip-primary) !important;
    background: #fff !important;
    color: var(--sip-primary) !important;
    padding: 15px 25px !important;
    font-weight: 700;
}

.get-btn:hover {
    background: var(--sip-primary) !important;
    background-image: linear-gradient(135deg, #a0123a 0%, var(--sip-primary-dark) 100%) !important;
    border-color: var(--sip-primary-dark) !important;
    color: #fff !important;
}

.get-btn .get-icon,
.get-btn .get-icon-2 {
    font-size: 22px;
}

/* ---------- Footer ------------------------------------------------------ */

#footer {
    background-color: var(--sip-primary-deep);
    background-image: linear-gradient(135deg, var(--sip-primary) 0%, var(--sip-primary-deep) 100%);
    padding: 60px 0 40px;
    color: #fff;
}

#footer .footer_text,
#footer .footer_text a {
    color: rgba(255, 255, 255, .85) !important;
}

#footer .footer-icon {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

#footer .footer_list a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 20px;
    transition: .3s ease;
}

#footer .footer_list a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--sip-primary);
}

.sip-footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 18px;
}

.sip-footer-links {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
}

.sip-footer-links a {
    color: rgba(255, 255, 255, .85);
}

.sip-footer-links a:hover {
    color: var(--sip-sand);
    text-decoration: none;
}

/* ---------- Content pages (privacy, terms, about) ----------------------- */

.sip-page-head {
    background-color: var(--sip-primary);
    background-image: linear-gradient(135deg, #9a0a2e 0%, var(--sip-primary) 45%, var(--sip-primary-deep) 100%);
    padding: 150px 0 70px;
    text-align: center;
    color: #fff;
}

.sip-page-head .main-heading,
.sip-page-head .sub-heading {
    color: #fff;
}

.sip-content {
    padding: 70px 0 90px;
}

.sip-content .sip-rich {
    line-height: 2;
    color: var(--sip-muted);
}

.sip-content .sip-rich h2,
.sip-content .sip-rich h3,
.sip-content .sip-rich h4 {
    color: var(--sip-primary);
    font-weight: 700;
    font-size: 21px;
    margin: 34px 0 12px;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--sip-primary);
}

.sip-content .sip-rich ul,
.sip-content .sip-rich ol {
    padding-inline-start: 22px;
}

.sip-content .sip-rich li::marker {
    color: var(--sip-primary);
}

.sip-content .sip-rich a {
    color: var(--sip-primary);
    text-decoration: underline;
}

.sip-content .sip-empty {
    text-align: center;
    color: var(--sip-muted);
}

/* ---------- RTL --------------------------------------------------------- */

[dir="rtl"] .navbar-nav {
    padding-inline-start: 0;
}

[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .mr-2,
[dir="rtl"] .mr-3 {
    margin-right: 0 !important;
}

[dir="rtl"] .mr-2 {
    margin-left: .5rem !important;
}

[dir="rtl"] .mr-3 {
    margin-left: 1rem !important;
}

[dir="rtl"] .outer-window .nav-item a {
    text-align: right;
}

[dir="rtl"] .offset-lg-2 {
    margin-left: 0;
    margin-right: 16.666667%;
}

@media (max-width: 991px) {
    [dir="rtl"] .offset-lg-2 {
        margin-right: 0;
    }
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 767px) {
    .bg-header .header-text {
        margin-top: 100px;
    }

    .bg-header .sip-hero-logo {
        height: 80px;
    }

    .bg-header .sub-heading {
        font-size: 15px;
    }

    .main-heading {
        font-size: 28px;
    }

    .sip-hero-actions .sip-btn {
        min-width: 84%;
    }

    .sip-phone {
        width: 230px;
        height: 360px;
    }
}

/* ---------- Delete account ---------------------------------------------- */

.sip-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #efe4da;
    box-shadow: 0 14px 40px rgba(58, 0, 14, .08);
    padding: 32px;
}

.sip-card p {
    color: var(--sip-muted);
    line-height: 1.9;
}

.sip-card-title {
    color: var(--sip-primary);
    font-weight: 700;
    font-size: 20px;
    margin: 26px 0 10px;
}

.sip-danger-note {
    border-inline-start: 4px solid var(--sip-primary);
    background: var(--sip-primary-soft);
    border-radius: 12px;
    padding: 18px 20px;
}

.sip-danger-note h5 {
    color: var(--sip-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.sip-danger-note p {
    margin: 0;
    color: var(--sip-primary-dark);
}

.sip-delete-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sip-delete-list li {
    position: relative;
    padding-inline-start: 28px;
    margin-bottom: 10px;
    color: var(--sip-ink);
    line-height: 1.8;
}

.sip-delete-list li i {
    position: absolute;
    inset-inline-start: 0;
    top: 4px;
    color: var(--sip-primary);
    font-size: 18px;
}

.sip-form label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--sip-ink);
}

.sip-form .form-control {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e3d6cc;
    padding: 0 16px;
}

.sip-form .form-control:focus {
    border-color: var(--sip-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, .12);
}

.sip-phone-row {
    display: flex;
    gap: 12px;
}

.sip-phone-code {
    flex: 0 0 110px;
}

.sip-phone-number {
    flex: 1;
}

.sip-code-input {
    font-size: 22px;
    letter-spacing: 8px;
    text-align: center;
    max-width: 260px;
}

.sip-options-title {
    font-weight: 600;
    color: var(--sip-ink) !important;
    margin: 8px 0 10px;
}

.sip-form .custom-control-label {
    font-weight: 400;
    cursor: pointer;
}

[dir="rtl"] .sip-form .custom-control {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .sip-form .custom-control-label::before,
[dir="rtl"] .sip-form .custom-control-label::after {
    left: auto;
    right: -1.5rem;
}

.sip-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--sip-primary);
    border-color: var(--sip-primary);
}

.sip-btn-primary,
.sip-btn-danger {
    height: 52px;
    border-radius: 30px;
    font-weight: 700;
    width: 100%;
    color: #fff;
    background: var(--sip-primary);
    border: 2px solid var(--sip-primary);
}

.sip-btn-primary:hover,
.sip-btn-danger:hover {
    background: var(--sip-primary-dark);
    border-color: var(--sip-primary-dark);
    color: #fff;
}

.sip-btn-danger {
    background: #c62828;
    border-color: #c62828;
}

.sip-btn-danger:hover {
    background: #a31f1f;
    border-color: #a31f1f;
}

.sip-secondary-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.sip-secondary-actions .btn-link {
    color: var(--sip-primary);
    font-weight: 600;
}

.sip-mail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sip-primary);
    font-weight: 700;
}

@media (max-width: 575px) {
    .sip-card {
        padding: 22px 18px;
    }
}
