
/*      ***       */
/* Global styling */

body, html {
    height:     unset;
    margin:     0;
    display:    block;
}

.content-header {
    padding: 0 160px;

    @media only screen and (max-width: 600px) {
        padding: 0;
    }
}

#contact .content-header {
    padding-right: 17vw;
    padding-left: 17vw;

    @media only screen and (max-width: 600px) {
        padding: 0;
    }
}

/* Ensure each section takes the full viewport height */
#welcome-section, #plans, #contact, #welcomeFaq, #securityInsights {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;

    padding-top: 14vh;
    padding-bottom: 14vh;
    position: relative;
}

body {
    background-color: #000;
}

.content-header p {
    font-size: 24px !important;
}

.section-light-bg {
    background: var(--Color-Gray-Gray-100, #F0F0F0);
}

/* Cookie policy icon — fixed at bottom-left corner */
.cookie-policy {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 15px;
    z-index: 9999;
    display: flex;
    align-items: center;
    flex-shrink: 0;

    svg {
        width: 60.058px;
        height: 58.56px;
    }
}

#cookieModal .card-header {
    padding: 0 !important;
}

#cookieModal .card {
    padding: 24px !important;
    max-height: 650px;
}

.cookie-policy-form {

    .form-switch .form-check-input:checked {
        border-color: #AC5811 !important;
        background-color: #AC5811 !important;
    }

    label {
        font-family: "Open Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 700 !important;
        line-height: 150%; /* 24px */

        margin-left: 0;
    }
}

.btn-cookie {
    display: flex;
    height: 30px;
    padding: 6px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--Color-Typography-typography-light, #FDFDFD);

    border-radius: 8px;
    background: #AC5811;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);

    &:hover {
        color: #AC5811;
        border: 1px solid #AC5811;
        box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);
    }
}

.btn-outline-cookie {
    display: flex;
    height: 30px;
    padding: 6px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #AC5811;

    border-radius: 8px;
    border: 1px solid #AC5811;
    box-shadow: 0 5px 14px 0 rgba(0, 0, 0, 0.05);

    &:hover {
        background-color: #e8c09e;
        color: var(--Color-Typography-typography-light, #FDFDFD);
    }
}

/* Scroll down indicator — animated and visible only on first section */
.scroller {
    position: absolute;
    bottom: 20px;
    left: 49.5%;
    transform: translateX(-50%);
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.3s;

    &:hover {
        opacity: 1;
    }
}

/* Bounce animation used by the scroller */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* "Back to top" elevator button — fixed at bottom-right */
.up-elevator {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 16px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 28px;
    background: var(--Tertiary, #FF9E00);

    position: fixed;
    bottom: 20px;
    right: 15px;

    cursor: pointer;
    transition: opacity 0.2s ease;
    z-index: 3000;

    animation: emergeUp 0.4s ease-out;
    will-change: transform, opacity;

    &:hover {
        background: var(--Tertiary-Hover, #e68d00); /* Slightly darker fallback orange */
    }
}

/* Emerging animation used by the "up-elevator" button */
@keyframes emergeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */

.navbar.navbar-main {
    @media only screen and (min-width: 992px) {
        margin: 0 16px;
    }

    @media only screen and (max-width: 992px) {
        min-height: unset !important;
    }
}

.top-menu {
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.25); /* softer than #C1C2C0 */
    background: #000;
    box-shadow: 0 16px 49px 0 rgba(91, 112, 119, 0.3) inset;

    .nav-link {
        color: #FDFDFD !important;
        font-size: 18px !important;
    }
}

.login-label {
    @media only screen and (max-width: 780px) {
        display: none;
        visibility: hidden;
    }
}

/* Welcome section */
@media (min-width: 992px) {
  #welcome-section { min-height: 100svh; } /* or 100vh */
}

.start-for-free {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 16px;

    span {
        font-size: 16px;
    }

    @media only screen and (max-width: 1018px) {
        display: none;
        visibility: hidden;
    }
}

/* =========================
   HERO (FIGMA: H1_Biggest)
   ========================= */
.HeroSection{
  font-family: "Open Sans", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 100%;
  color: var(--Color-Typography-typography-light,#FDFDFD);
  margin: 0;
  margin-bottom: 32px;           /* bigger gap before first bullet */
}
.HeroSection .tertiary-color{ color: var(--Tertiary,#FF9E00); }

/* Responsive scale (optional but safe) */
@media (max-width: 1200px){ .HeroSection{ font-size: 64px; } }
@media (max-width: 768px){  .HeroSection{ font-size: 48px; } }
@media (max-width: 480px){  .HeroSection{ font-size: 38px; } }

/* =========================
   BULLETS (FIGMA: H4)
   ========================= */
.show-case-points{
  color: var(--Color-Typography-typography-light,#FDFDFD);
  font-family: "Open Sans", sans-serif;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 130%;             /* 31.2px per FIGMA */
  margin: 0;
}

/* Consistent spacing between rows */
.card-description .list-group{ gap: 25px !important; } /* was 15px inline */
.card-description .list-group li{ margin: 0; }         /* keep spacing via gap */

.card-description {
    padding: 40px 40px 60px !important;
    border-radius: 40px;
    background: linear-gradient(72deg, #000 60.16%, #424242 107.36%);
    box-shadow: 2px 24px 40px 0 rgba(255, 255, 255, 0.25) inset;

    @media only screen and (min-width: 600px) {
        min-width: 660px;
    }
}

.explore-register-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 12px;

    width: max-content;
    border-radius: 16px;
    box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.25) inset;
}

.btn-outline-secondary-2 {
    display: flex;
    padding: 4px 30px;
    align-items: flex-end;
    gap: 8px;

    border-radius: 8px;
    color: #7BD084;
    border: 2px solid var(--Secondary, #7BD084);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
}

/* Pricing section */
.card-pricing {
    padding: 55px 24px !important;
    border: 1px solid var(--Typography-Medium, #5E5E5E);
    background: #242424;
    box-shadow: 0 1px 40px 0 rgba(49, 49, 49, 0.25) inset;
}

.plan-feature-item {
    font-size: 14px;
    color: var(--Color-Typography-typography-light, #FDFDFD);
}

.pricing-container {
    display: flex;
    gap: 40px;
}

/* Hidden for now
.premium-plan {
    border: 3px solid var(--Tertiary, #FF9E00);
}
*/

.premium-plan-tag {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;

    position: absolute;
    top: -28px;
    right: 10px;

    border-radius: 8px 8px 0 0;
    background: var(--Tertiary, #FF9E00);

    /* Hidden for now */
    display: none;
    visibility: hidden;
}

/* FAQ section */
.faq-section-bg {
    background-size: cover;
    background-position: center;
    background-image: url('/static/logo/faq-section.jpg');
}

.cover-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    right: -16px;
    width: -webkit-fill-available;
    z-index: -1;
}


.faq-item {
    opacity: 0.8;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--Color-Gray-Gray-600, #8D8F8C);
    background: #242424;
    box-shadow: 0 2px 28px 0 rgba(49, 49, 49, 0.25) inset;

    .faq-question {
        cursor: pointer;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px;
        color: var(--Color-Typography-typography-light, #FDFDFD);
    }

    .faq-answer {
        padding: 0;
        padding-top: 1rem;
        background: unset;

        p {
            font-size: 16px !important;
            line-height: 150%; /* 24px */
            color: var(--Color-Typography-typography-light, #FDFDFD);
        }
    }
}

.faq-item {
    margin-bottom: 0 !important;
}

#faqAccordion {
    gap: 12px;
    display: flex;
    flex-direction: column;

    padding: 24px 0;
}

.contact-panel {
    margin-top: 24px;

    p {
        font-size: 16px !important;
    }

    .btn {
        padding: 6px 20px !important;

        span {
            font-size: 14px !important;
        }
    }
}

/* Security Insights section */
.card-article {
    max-width: 23rem;
    max-height: 33rem;
    height: 33rem;

    border-radius: 15px;
    background: var(--Color-Gray-Gray-900, #212529);
}

.carouselArrows {
    left: 0;
    position: absolute;
    justify-content: space-between;

    width: 100%;
    padding: 10vh 13vw 0; /* TODO Modify on different viewports */
}

#newsCarousel {
    overflow: hidden;
}

/* Features section */

#features {
    padding-top: 68px;
    padding-bottom: 68px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
    gap: 30px; /* Vertical & horizontal spacing between items */
    margin: 0 auto;

    @media only screen and (max-width: 1700px) {
        max-width: 1100px;
    }
}


.card-features-grid {
    /* Layout */
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;

    /* Style */
    border-radius: 16px;
    border: 1px solid #DBD4D4;
    background: var(--card-menu-bg, #FDFDFD);
    box-shadow: 0 2px 28px 0 rgba(214, 214, 214, 0.25) inset;
}

.black-icon {
    /* Layout */
    display: flex;
    padding: 15px;
    align-items: center;

    /* Style */
    border-radius: 8px;
    background: var(--Color-Gray-Gray-900, #212529);
}

.black-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-demo-request {
    display: flex;
    padding: 48px;
    flex-direction: column;
    align-items: center;
    gap: 24px;

    border-radius: 16px;
    background: var(--Color-Gray-Gray-900, #212529);
    box-shadow: 0 2px 28px 0 rgba(255, 255, 255, 0.25) inset;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    section {
        margin-bottom: unset;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 equal-width columns */
    }

    .card-demo-request-body {
        padding: 0 30px;
    }

    #faqAccordion {
        gap: 12px;
        display: flex;
        flex-direction: column;
    }

    .card-description {
        padding: 30px 25px 60px !important;
    }

    .pricing-container {
        flex-direction: column;
    }

    .carouselArrows {
        padding: 10vh 0 0;
    }
}

/* Default scrollbar style */
::-webkit-scrollbar {
    width: 10px; /* Default width */
    transition: unset; /* Smooth width transition on hover */
}

::-webkit-scrollbar-track {
    background-color: #212529;
}

/* Hover effect on the page to increase width */
:hover::-webkit-scrollbar {
    width: 10px;
}

/* Hover effect on the entire scrollbar (track and thumb) */
::-webkit-scrollbar:hover {
    width: 10px;
}

/* Hover effect on scrollbar thumb to change color */
::-webkit-scrollbar-thumb:hover {
    width: 10px;
}

.btn-close.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: .85;
}
.btn-close.btn-close-white:hover { opacity: 1; }

/* ===== BaseFortify Footer (dark, consolidated) ===== */
.bf-footer {
  background: #000;
  color: #FDFDFD;
}

/* Column headings */
.bf-foothead {
  color: #FDFDFD;
  font-weight: 800;
  font-size: 20px;      /* larger section titles */
  line-height: 1.2;
  letter-spacing: .02em;
  margin-bottom: 18px;  /* space below headings */
}

/* Links */
.bf-footer a {
  color: #FDFDFD;
  text-decoration: none;
  opacity: .9;
}
.bf-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Spacing between list items */
.bf-footer-links li + li { margin-top: 18px; }

/* Uniform spacing: top block → next block */
.bf-footer .col-lg-3 > a.d-inline-flex,
.bf-footer .col-lg-3 > p.bf-axxpreamble,
.bf-footer .col-lg-3 > h6.bf-foothead {
  margin-bottom: 24px;
}

/* CTA Button */
.btn-bf-cta {
  background: #FF9E00;
  color: #000;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0,0,0,.25);
  margin-top: 24px; /* space above button */
}
.btn-bf-cta:hover { background: #e68d00; color: #000; }

/* Column 4 content */
.bf-axxpreamble { color: #FDFDFD; opacity: .9; }
.bf-address {
  color: #FDFDFD;
  opacity: .9;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 18px; /* address → socials */
}

/* Social icons (no outlines) */
.bf-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 28px);
  gap: 12px;
}
@media (max-width: 576px) {
  .bf-social-grid { grid-template-columns: repeat(3, 28px); }
}
.bf-social-grid a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; box-shadow: none; outline: none;
  opacity: .9;
}
.bf-social-grid a:hover { opacity: 1; }

/* Divider line */
.bf-foot-divider { border-color: rgba(255,255,255,.15); opacity: .5; }

/* Footer strip links */
.bf-strip-links a { margin-right: 18px; color: #FDFDFD; opacity: .75; }
.bf-strip-links a:hover { opacity: 1; }

/* Vertical spacing in rows */
.bf-footer .row.gy-4 { row-gap: 40px; }

/* --- Specific fixes & badges --- */

/* Force extra space below BaseFortify logo (col 1) overriding Bootstrap mb-3 */
.bf-footer .col-12.col-md-6.col-lg-3 > a.d-inline-flex {
  display: block !important;
  margin-bottom: 24px !important;
}
.bf-footer .col-12.col-md-6.col-lg-3 > a.d-inline-flex + ul {
  margin-top: 24px !important; /* logo → list */
}

/* Axxemble logo: legible on dark */
.bf-footer .col-12.col-lg-3 img[alt="Axxemble logo"] {
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-block;
  height: auto;
  max-height: 40px;
  margin: 12px 0; /* text → logo and logo → address */
}

/* ISO certification badge (white background, tight) */
.bf-footer img[alt*="ISO 27001:2022"] {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
}

