﻿html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;

    scroll-padding-top: 64.79px;
}

body {
    margin-bottom: 60px;
}

:root {
    --primary-color: #4C1862;
    --primary-dark: #3a1149;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

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

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
    }

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

    .btn-outline-primary:hover, .btn-outline-primary:focus {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

.nav-link:hover {
    color: var(--primary-color) !important;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.social-icon {
    background-color: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

    .social-icon:hover {
        background-color: var(--primary-dark);
        color: white;
    }

.team-img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-icon {
    color: var(--primary-color);
}

.section-title {
    color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(to right, rgba(76, 24, 98, 0.1), rgba(76, 24, 98, 0.05));
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Mobile (< lg): hide the inline image and swap in the background image */
@media (max-width: 991.98px) {
    .hero-section {
        background:
        /* 1) white overlay at 80% opacity */
        linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
        /* 2) your existing purple fade */
        linear-gradient(to right, rgba(76, 24, 98, 0.1), rgba(76, 24, 98, 0.05)),
        /* 3) the hero image */
        url('/img/hero-img.png') no-repeat center center/cover;
    }

    .hero-section .text-muted {
        color: black !important;
    }
}

    /* 3. (Optional) Tweak padding so the text sits nicely over the image */
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.why-choose-section, .team-section {
    background-color: #f8f9fa;
}

.py-md-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
    .py-md-7 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Navbar */

.navbar-logo {
    max-width: 250px;
}

.bg-opacity-95 {
    --bs-bg-opacity: 0.95;
}


/* Pricing table styles */
.table-responsive {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
    overflow: hidden;
}

.table th {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(76, 24, 98, 0.05);
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(76, 24, 98, 0.1);
}

/* Pricing card styles */
.badge.bg-primary {
    background-color: var(--primary-color) !important;
    padding: 0.5rem 0.75rem;
}

.card {
    transition: transform 0.2s ease-in-out;
}

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


/* Foooter Section */
footer .ltd {
    font-family: 'Times New Roman', serif;
    font-size: 8pt;
}


/* Logo */
.logo {
    color: #4C1862;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
}
    .logo:hover,
    .logo:focus {
        color: #4C1862; /* same brand colour */
        text-decoration: none; /* prevents underline in some browsers */
    }

.navbar-light .logo:hover,
.navbar-light .logo:focus {
    color: #4C1862;
}

.logo-mn {
    font-family: "Stardos Stencil",serif;
    font-weight: 700;
    font-size: 2.8em;
}
/* huge initials            */
.logo-surname {
    font-family: "Alegreya Sans SC",sans-serif;
    font-weight: 800;
    font-size: 1.4em;
    letter-spacing: .03em;
}

.logo-sub {
    font-family: "Alegreya Sans SC",sans-serif;
    font-weight: 500;
    font-size: 1em;
    letter-spacing: .06em;
}

.logo-divider {
    width: 1px; /* hair-line */
    background: #d9d9d9; /* 15 % K = light grey */
    align-self: stretch; /* run full height of text block */
}

/* optional: shrink on extra-small screens */
@media(max-width:575.98px) {
    .logo-mn {
        font-size: 2.2em;
    }

    .logo-surname {
        font-size: 1.2em;
    }

    .logo-sub {
        font-size: .9em;
    }
}

/* Optional spinner customizations */
#loader .spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: .4em;
}