@font-face {
    font-family: mollen-bold;
    src: url(../fonts/mollen-bold.otf);
}
@font-face {
    font-family: mollen-regular;
    src: url(../fonts/mollen-regular.otf);
}
html{
    font-size:18px;
    scroll-behavior: smooth;
}
body,h1,h2,h3,h4,h5,h6,p,ul,li{
    margin:0;
    padding:0;
}
body{
    font-family: mollen-regular;
    color:#4D5D6E;
}
.pad-tb{
    padding-top:5rem;
    padding-bottom:5rem;
}
.pad-t{
    padding-top:5rem;
}
.pad-b{
    padding-bottom:5rem;
}
.section-heading{
    font-size:2rem;
    font-family: mollen-bold;
}
.solid-btn .arrow{
    transition:0.3s ease;
}
.solid-btn{
    display: inline-block;
    line-height: normal;
    text-decoration: none;
    font-family: mollen-bold;
    color: #fff !important;
    background-color: #4D5D6E;
    padding: 1rem 1.5rem 0.85rem 1.5rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    transition:0.3s ease;
    font-size:0.9rem;
}
.solid-btn:hover{
    color:#fff;
    opacity: 0.8;
}
.solid-btn:hover > .arrow{
    transform: translateX(5px);
}
.outline-btn{
    display: inline-block;
    line-height: normal;
    text-decoration: none;
    font-family: mollen-bold;
    color: #4D5D6E;
    border:2px solid #4D5D6E;
    padding: 1rem 1.5rem 0.85rem 1.5rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    transition:0.3s ease;
    font-size: 0.9rem;
}
.outline-btn:hover{
    color:#fff;
    background-color: #4D5D6E;
    opacity: 0.8;
}
/*** Navbar ***/
nav {
    padding: 1.5vw 0 1.5vw 0 !important;
    position: relative;
    z-index: 1000;
}
.navbar-nav{
    gap:2rem;
}
.navbar-nav .nav-link{
    padding: 0;
    color:#4D5D6E;
    transition:0.3s ease;
    position: relative;
    z-index: 1001;
}
.navbar-nav .nav-link:hover{
    color:#000a10;
}
nav .navbar-brand img{
    width: 20vw;
}

/*** Featured Home Page ****/
section.featured-home {
    position: relative;
    background-image: url('../images/gradient1.jpg');
    background-size: cover;
    background-position: center center;
    border-radius: 2rem;
    padding: 4rem 0;
    overflow: visible;
    height: 70vh;
    display: flex;
    align-items: center;
    max-width: 1450px;
    margin: 0.5rem auto 1rem;
}

section.featured-home .content {
    max-width: 750px;
    padding: 4rem 1rem 4rem 0rem;
    margin: 0;
}

section.featured-home .row {
    /* ensure things sit neatly in their halves */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
    /* on smaller screens, stack normally */
    section.featured-home .row {
        display: block;
    }
    section.featured-home .content,
    section.featured-home .text-end img {
        max-width: 100%;
        padding: 2rem 1rem;
    }
}

section.featured-home h1{
    font-family: mollen-bold;
    font-size: 3.5rem;
    line-height: 1.2;
}
section.featured-home p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    width: 100%;
}

/* Tweak the button for balance */
section.featured-home .solid-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/*** Featured Other Pages (Centered) ****/
section.featured {
    position: relative;
    background-image: url('../images/gradient1.jpg');
    background-size: cover;
    background-position: center center;
    border-radius: 2rem;
    padding: 4rem 0;
    overflow: visible;
    height: 60vh;
    display: flex;
    align-items: center;
    max-width: 1450px;
    margin: 0.5rem auto 1rem;
}

section.featured .content {
    max-width: 1000px;
    padding: 4rem 1rem;
    margin: 0 auto;
    text-align: center;
}

section.featured h1{
    font-family: mollen-bold;
    font-size: 2.5rem;
    line-height: 1.2;
}
section.featured p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    width: 100%;
}

/* 1) Make the wrapper relative and scale it once */
.laptop-container {
  position: relative;
  width: 100%;              /* so it fills the bootstrap column */
  max-width: 610px;         /* reduced from 650px to make it smaller */
  margin-left: 7%;        /* push it to the right */
  transform: scaleX(1.6) scaleY(1.4);    /* wider X scale */
  transform-origin: center center;
}

/* 2) The image just fills its container */
.laptop-img {
  display: block;
  width: 100%;
  height: auto;
  
  /* WebKit (Safari, older Chrome) */
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,   /* fully transparent at the very bottom */
    black      35%,   /* fully opaque by 10% up from the bottom */
    black     35%    /* keep the rest fully opaque */
  );
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  /* Standard syntax */
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    black       35%,
    black      35%
  );
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

/* 3) Video iframe positioned exactly over the laptop screen */
.laptop-video-overlay {
  position: absolute;
  /* Using the exact same positioning as the white square */
  top: -31.5%;     /* moved up to accommodate larger size */
  left: 16.5%;     /* moved in slightly for larger width */
  width: 67%;    /* increased from 68% to 80% */
  height: 160%;  /* back to original height */
  border-radius: 2px;
  pointer-events: none;  /* disable events on the container */
  border: none;
  transform: scaleY(1.12); /* stretch height by 10% without moving position */
  transform-origin: center; /* scale from center */
}

/* Clickable video area that matches the visible screen */
.video-click-area {
  position: absolute;
  top: 26%;        /* adjust to match visible screen top within the overlay */
  left: 16.5%;     /* match the video overlay left position */
  width: 67%;      /* match the video overlay width */
  height: 45%;     /* constrain to visible screen height */
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  /* Debug outline to see the click area */
}

/* Video Hover Tooltip */
.video-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(0.625) scaleY(0.714);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.video-click-area:hover ~ .video-tooltip {
  opacity: 1;
}

/* Marker-highlight effect for Alessia */
.alessia-highlight {
  font-style: italic;      /* keep italicized Alessia */
}

/*** Solutions ****/
.solutions .image{
    background-image: url('../images/gradient2.jpg');
    background-size: cover;
    background-position: center center;
    height:34vw;
    position:relative;
    border-radius: 40px;
}
.solutions .image span{
    color: #4D5D6E;
    position: absolute;
    left: 1rem;
    padding: 0.2rem 1rem 0.1rem 1rem;
    border-radius: 30px;
    top: 1rem;
    border: 1px solid #4D5D6E;
}
.solutions .image span.right{
    right:1rem !important;
    left:unset !important;
}
.solutions .image img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
}
.solutions .image .solution4 {
    width: 43%;
}

/*** More Services ***/
.more-services .custom-card{
    background-color: #DEE5EC;
    position: relative;
    border-radius: 15px;
    height: 320px;
    padding: 16% 5% 8% 5%;
    margin-top: 15%;
    display: flex;
    flex-direction: column;
}
.more-services .custom-card h2{
    font-family: mollen-bold;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.more-services .custom-card p{
    margin-bottom: 0;
    flex-grow: 1;
}
.more-services .custom-card img{
    position: absolute;
    width: 17%;
    top: -9%;
}

/** CTA **/

.cta .content{
    padding: 5% 2%;
    background-color: #DEE5EC;
    color:#fff;
    border-radius:25px;
    color:#4D5D6E;
}
.cta .content p{
    width:60%;
    text-align: center;
    margin: 0 auto;
}

/*** Footer ***/
footer a{
    color:#4D5D6E;
    text-decoration: none;
    transition:0.3s ease;
}
footer a:hover{
    color:#000a10;
}

/*******/
/******* Contact Us Page *****/
/*******/

.connect{
    padding-top:3%;
}
.connect #contact-form{
    background-image: url('../images/form-gradient.jpg');
    background-size: cover;
    background-position: center center;
    padding: 5% 10%;
    border-radius: 35px;
}
.connect #contact-form .d-flex {
    gap:2%;
}
.connect #contact-form .d-flex div{
    flex:1;
}
.connect #contact-form .d-flex div input{
    width: 100%;
    border-radius: 10px;
    padding: 4% 7%;
    border: 0;
    outline: unset;
    color:#4D5D6E;
    border:3px solid transparent;
    transition:0.3s ease;
}
.connect #contact-form .d-flex div input:focus{
    border:3px solid #cfd8e8;
}
.connect #contact-form .d-flex div input::placeholder{
    color:#4D5D6E;
}
.connect #contact-form div textarea{
    width: 100%;
    border-radius: 10px;
    padding: 2% 3.5%;
    border: 0;
    outline: unset;
    color:#4D5D6E;
    border:3px solid transparent;
    transition:0.3s ease;
    height:20vh;
}
.connect #contact-form div textarea:focus{
    border:3px solid #cfd8e8;
}
.connect #contact-form div textarea::placeholder{
    color:#4D5D6E;
}
.connect .solid-btn {
    outline: unset;
    border: unset;
}

/*** Testimonials ***/
.testimonial-container{
    background-image: url('../images/gradient2.jpg');
    background-size: cover;
    background-position: center center;
    padding: 5% 5% 3% 5%;
    border-radius: 30px;
}
.testimonial-container .avatar{
    background-color: #D1DCE6;
    text-align: center;
    height: 3vw;
    width: 3vw;
    position:relative;
    border-radius: 100px;
}
.testimonial-container .avatar p{
    position: absolute;
    color:#4D5D6E;
    font-family: mollen-bold;
    font-size: 1.1rem;
    left:50%;
    top:50%;
    line-height: normal;
    transform: translate(-50%,-50%);
}
.testimonial-container h3{
    font-family: mollen-bold;
    font-size:1.2rem;
}
.testimonial-container .swiper-slide{
    background-color: #fff;
    padding: 3%;
    border-radius: 25px;
    min-height: 47vh !important;
}
.testimonial-container .swiper-slide > p{
    margin-top:15px;
}
.swiper-pagination-bullet{
    height:15px !important;
    width:15px !important;
}
.swiper-pagination-bullet-active{
    background: #4D5D6E !important;
}
.swiper-wrapper{
    margin-bottom: 6%;
}

/* Free Trial Page Styles */
.trial-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.trial-form h2 {
    color: #4D5D6E;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.trial-form .form-label {
    color: #4D5D6E;
    font-weight: 500;
}

.trial-form .form-control {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.trial-form .form-control:focus {
    border-color: #0272B3;
    box-shadow: 0 0 0 0.2rem rgba(2, 114, 179, 0.15);
}

.plan-options {
    padding: 15px;
    background-color: #f7f9fc;
    border-radius: 5px;
}

.plan-options .form-check {
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.plan-options .form-check:hover {
    background-color: rgba(2, 114, 179, 0.05);
}

.plan-options .form-check-input:checked + .form-check-label {
    color: #0272B3;
    font-weight: 600;
}

.form-check-input:checked {
    background-color: #0272B3;
    border-color: #0272B3;
}

#submit-trial {
    padding: 12px 30px;
}

#form-status {
    font-weight: 500;
}

.faq .accordion-button:not(.collapsed) {
    background-color: rgba(2, 114, 179, 0.05);
    color: #0272B3;
}

.faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(2, 114, 179, 0.1);
}

.faq .accordion-body {
    padding: 1.5rem;
    color: #667080;
}

/* Thank You Page Styles */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.thank-you-container p {
    color: #667080;
    font-size: 18px;
    max-width: 80%;
    margin: 0 auto;
}

.success-icon {
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    background: rgba(2, 114, 179, 0.1);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 767px) {
    .thank-you-container {
        padding: 30px 20px;
    }
    
    .thank-you-container p {
        max-width: 100%;
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .outline-btn, 
    .cta-buttons .solid-btn {
        margin: 5px 0;
    }
}

/*** Blog Page Styles ***/
.blog-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content .date {
    color: #8391A1;
    font-size: 0.9rem;
}

.blog-content h2 {
    font-family: mollen-bold;
    font-size: 1.3rem;
    margin: 0.8rem 0;
    color: #4D5D6E;
}

.blog-content p {
    color: #8391A1;
    margin-bottom: 1rem;
}

/*** Blog Article Styles ***/
.blog-article {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-article .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #4D5D6E;
}

.blog-article h2 {
    font-family: mollen-bold;
    color: #4D5D6E;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    border-bottom: 2px solid #DEE5EC;
    padding-bottom: 0.5rem;
}

.blog-article p {
    margin-bottom: 1.5rem;
    color: #4D5D6E;
}

.blog-article h3 {
    font-family: mollen-bold;
    color: #4D5D6E;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.newsletter {
    background-color: #DEE5EC;
    border-radius: 25px;
    padding: 3rem;
}

.newsletter .form-control {
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    border: none;
    margin-right: 1rem;
}

.newsletter .input-group {
    gap: 1rem;
}

.newsletter .solid-btn {
    padding: 1rem 2rem 0.85rem 2rem;
}

/*** Stats Section ***/
.bg-light {
    background-color: #F8F9FA;
}

.stats .row {
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin: 1rem;
    display: inline-block;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item h2 {
    font-family: mollen-bold;
    font-size: 4rem;
    color: #4D5D6E;
    margin-bottom: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.stat-item span {
    font-size: 4rem;
    color: #4D5D6E;
}

.stat-item p {
    color: #8391A1;
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.4;
}

/*** Trusted By Section ***/
.trusted-by {
    background-color: #fff;
}

.client-logo {
    max-height: 60px;
    opacity: 0.7;
    transition: 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/*** Awards Section ***/
.awards {
    background-color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.awards .section-heading {
    color: #4D5D6E;
    margin-bottom: 2rem !important;
    font-size: 2.5rem;
}

.award-logo {
    height: 140px;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}

.award-logo:hover {
    transform: scale(1.05);
}

.award-title {
    font-family: mollen-bold;
    font-size: 1.4rem;
    color: #4D5D6E;
    margin-bottom: 0.75rem;
}

.award-org {
    color: #8391A1;
    font-size: 1.1rem;
    margin: 0;
}

.awards .row.justify-content-center {
    margin: 0 -1rem;
}

.awards .col-md-6 {
    padding: 0 1rem;
}

.cta {
    padding-top: 3rem;
}

/* Give every solution‐image a soft drop‐shadow and viewport‐triggered lift */
.solutions .solution-block .image {
  box-shadow: 0 8px 24px rgba(0,0,0,0.05) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

/* Trigger lift effect when in viewport */
.solutions .solution-block.in-view .image {
  transform: translateY(-10px) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.08) !important;
}

/* Pricing section scroll offset */
#pricing {
    scroll-margin-top: -50px;
}

/* Billing Toggle Styles */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.billing-label {
    font-weight: 600;
    color: #4D5D6E;
    font-size: 1.1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4D5D6E;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.savings-badge {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.video-modal-close {
    color: white;
    float: right;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    right: -50px;
    top: -50px;
    cursor: pointer;
    z-index: 10001;
    transition: 0.3s ease;
}

.video-modal-close:hover {
    color: #ff8c00;
    transform: scale(1.1);
}

.modal-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        right: -20px;
        top: -40px;
        font-size: 30px;
    }
}