/* add font from ../fonts/Inter-VariableFont_opsz,wght.ttf */
@font-face {
    font-family: 'Inter';
    src: url("../fonts/Inter-VariableFont_opsz,wght-g67Lfz9.ttf") format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* now for Manrope-VariableFont_wght.ttf */
@font-face {
    font-family: 'Manrope';
    src: url("../fonts/Manrope-VariableFont_wght-esnmdRQ.ttf") format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


body {
    background-color: #0D0C18;
    background-image: url("../images/blueprint-quQjUVy.svg");
    background-position: bottom 50px right 0;
    background-repeat: no-repeat;
    font-family: 'Inter', sans-serif;
}

:root {
    --blue: #4229FD;
}

a {
    color: #8E7FFE;
}

/* Show a white caret on dropdown toggle buttons */
.btn.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: 0.3em;
    content: "";
    border-top: 0.3em solid currentColor; /* same as text color */
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

/* Generic Section Styles */

/* Full-height hero background */
.hero-section {
    min-height: 85vh;
    background: url("../images/riga-bg-T5MRNgm.png") center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* Dark background with white text */
.bg-dark-custom {
    background-color: #0D0C18;
    color: #ffffff;
}

/* If you need multiple dark overlays with slightly different opacities */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

/* If you need multiple dark overlays with slightly different opacities */
.bg-pinkish {
    background-color: #5e5467;
}

/* Section spacing */
.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Horizontal rule styling for the yellow line */
.hr-yellow {
    margin-top: 0.5rem;
    width: 96px;
    border: 1px solid #FFC107;
    margin-left: 0;
}

/* Example: border with a grayish color for cards */
.border-secondary {
    border: 1px solid #666;
}

/* Tweak form placeholders and backgrounds */
.form-control::placeholder {
    color: #ccc;
}

/* Navbar Tweaks */
.navbar.scrolled {
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar {
    transition: background-color 0.3s ease-in-out;
}

.scrollhide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollhide::-webkit-scrollbar {
    display: none;
}

.card-benefits {
    border-radius: 6px;
}

/* “О нас” section spacing */
.about-section {
    padding: 60px 0;
}

/* About overlay cards */
.about-overlay-card {
    border: none;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.about-overlay-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-img-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 6px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text ul {
    list-style: disc;
    margin-left: 1.2rem;
    padding-left: 0;
}

/* Adjust spacing for columns */
.about-us .col .about-overlay-card {
    margin-bottom: 16px;
}

.bg-white-25 {
    background: #3F3D4D40;
    backdrop-filter: blur(6px);
}

.bg-form-white {
    background: #3F3D4D;
}

.step-number {
    font-weight: 700;
    font-size: 32px;
    line-height: 125%;
    margin-right: 16px;
}

.step-icon {
    padding-right: 16px;
    border-right: 1px solid #fff;
}

.step-text {
    margin-left: 16px;
}

/* Footer Styling */
.footer {
    color: white;
    padding-top: 24px;
    background: #0D0C18;
    border-top: 1px solid #3F3D4D;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #FFC107;
}

.footer-bottom {
    border-bottom: 1px solid #3F3D4D;
    border-top: 1px solid #3F3D4D;
}

.footer-nav-links {
    list-style: none;
    padding-left: 0;
    gap: 32px;
}

.footer-nav-links li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-primary {
    background: #4229FD;
    border: 1px solid #4229FD;
    box-shadow: 0 6px 20px #4229FD66;
}

.btn-outline-primary {
    color: #8E7FFE;
    border-color: #8E7FFE;
}

.btn-outline-primary:hover {
    color: #fff;
    background: rgba(142, 127, 254, 0.64);
    border-color: #8E7FFE;
}

.main-footer h2 {
    color: #A5A3B3;
    font-size: 28px;
    line-height: 36px;
}

.main-footer > h2 {
    font-family: 'Manrope', sans-serif;
}

.main-footer > p {
    font-family: 'Manrope', sans-serif;
}

.main-footer > div {
    font-family: 'Manrope', sans-serif;
}

.main-footer > li {
    font-family: 'Manrope', sans-serif;
}

.footer-paragraph {
    font-size: 14px;
    line-height: 18px;
}

.footer-contacts {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.footer-contact-icons {
    width: 60px;
}

.form-control:focus {
    border-color: #8E7FFE;
    box-shadow: 0 0 0 0.25rem rgba(142, 127, 254, 0.25);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control {
    color: #BBB
}

.btn:focus {
    box-shadow: none;
}

.phone-button {
    letter-spacing: 2px;
}

.text-purplish {
    color: #8E7FFE;
}

.text-purplish:hover {
    color: #FFC107;
}

.btn:hover {
    background: #FFC107;
    box-shadow: 0 6px 20px #FFC10766;
    border: 1px solid #FFC107;
}

@media (max-width: 992px) {
    /* Adjust this breakpoint as needed */
    .about-overlay-card .card-img {
        height: 200px; /* or whatever fixed height you prefer */
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .card-img-overlay .card-title {
        font-size: 14px;
    }
}


