/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
/* Custom properties */
:root{
    --light-color: #fff;
    --light-color-alt: #afb6cd;
    --primary-background-color: #131417;
    --secondary-background-color: #252830;
    --hover-light-color: var(--light-color);
    --hover-dark-color: var(--primary-background-color);
    --gradient-color: linear-gradient(
        115deg,#4fcf70,#fad648,#a767e5,#12bcfe,#44ce7b);
    --transparent-light-color: rgba(255,255,255,.05);
    --transparent-dark-color: rgba(0,0,0,.75);
    --font-family: 'Poppins', sans-serif;
    --font-size-xsm: 1.2rem;
    --font-size-sm: 1.6rem;
    --font-size-md: 2.4rem;
    --font-size-lg: 3rem;
    --font-size-xl: 4rem;
    --gap: 2rem;
    --margin-sm: 2rem;
    --margin-md: 3rem;
    --item-min-height-sm: 20rem;
    --item-min-height-md: 30rem;
}
/* Base styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    /* font-size: 10px; */
    font-size: 62.5%;
}

body{
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: var(--light-color-alt);
    background-color: var(--primary-background-color);
    letter-spacing: 1px;
    transition: background-color .25s, color .25s;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: inherit;
}

img{
    max-width: 100%;
    display: block;
}

ul{
    list-style: none;
}

input,
button{
    font:inherit;
    color:inherit;
    border: none;
    background-color: transparent;
    outline: none;
}

i{
    font-size: var(--font-size-md);
    /* font-size: 7rem; */
}

.container{
    max-width: 160rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.place-items-center{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section:not(.featured-articles){
    padding-block: 5rem;
}

.d-grid{
    display: grid;
}

.screen-sm-hidden{
    display: none;
}

/* Header */
.header{
    background-color: var(--secondary-background-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* .cover-photo {
    background-image: url('../images/Bianca.jpg'); 
    background-size: cover; 
    background-position: center 75%;
    height: 100%; 
    width: 100%;
    display: flex; 
    align-items: center;
    justify-content: center;
    position: relative; 
}

.scroll-down-arrow {
    position: absolute;
    bottom: 20px; 
    left: 6%;
    transform: translateX(-50%);
    font-size: 6rem !important; 
    color: white; 
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down-arrow i {
    font-size: 7rem; 
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
} */

/* @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
} */

.cover-photo {
    /* background-image: url('../images/background-image.jpg');  */
    background-image: url('../images/Bianca.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down-arrow i {
    font-size: 8rem; 
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========== Responsive Design ========== */
@media (min-width: 1024px) {

    .cover-photo {
        background-image: url('../images/Bianca.jpg'); 
        background-size: cover; 
        background-position: center 75%;
        height: 35%; 
        width: 100%;
        display: flex; 
        align-items: center;
        justify-content: center; 
        padding: 2rem 1rem; 
    }

    .scroll-down-arrow {
        font-size: 2.5rem;
        bottom: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .cover-photo {
        min-height: 35vh; 
        background-position: center top; 
    }

    .scroll-down-arrow {
        display: none;
    }
}


.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.5rem;
}

.logo{
    font-size: var(--font-size-md);
    color:var(--light-color);
}

.menu{
    position: absolute;
    top: 8.5rem;
    right: 1.5rem;
    width: 23rem;
    padding: 1.5rem;
    background-color:var(--secondary-background-color);
    opacity: 0;
    transform: scale(0);
    transition: opacity .25s ease-in;
}

.list{
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.menu > .list{
    flex-direction: column;
}

.list-link.active {
    color: white; 
    background-color: #333; 
}

.close-menu-icon{
    display: none;
}

.btn{
    cursor: pointer;
}

.list-link:hover,
.btn:hover,
.btn:hover span{
    color: var(--light-color);
}

/* Header JavaScript Styles */
.header.activated{
    box-shadow: 0 1px 5rem var(--transparent-light-color);
}

.menu.activated{
    box-shadow: 1px 1px 1rem var(--transparent-light-color);
    opacity: 1;
    transform: scale(1);   
}

.menu-toggle-icon.activated .open-menu-icon{
    display: none;
}

.menu-toggle-icon.activated .close-menu-icon{
    display: block;
}

.additional-section1 {
    background-color: #bdbdbd;
    padding: 5rem 2rem;
}

.content-wrapper-despre2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.text-content-despre2 {
    flex: 1;
    color: var(--primary-background-color);
    font-size: 1.6rem;
    line-height: 1.6;
    margin-right: 2rem;
}

.image-content-despre2 {
    flex: 1;
    text-align: center;
}

.image-content-despre2 img {
    width: 100%;
    height: auto;
    max-width: 500px; 
    margin-left: 10%;
}


.read-more-btn {
    background: black; 
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 4%;
    margin-left: 30%;
}

.read-more-btn:hover {
    background-color: #543a31;
}


/* ========== Responsive Design ========== */

@media (min-width: 1024px) {
    .content-wrapper-despre2 {
        max-width: 1400px; 
    }

    .text-content-despre2 {
        font-size: 1.8rem; 
        margin-right: 3rem;
    }

    .image-content-despre2 img {
        max-width: 550px; 
    }

    .read-more-btn {
        font-size: 20px;
        padding: 14px 30px;
    }
}

/* For tablets & smaller screens (≤ 768px) */
@media only screen and (max-width: 768px) {
    .content-wrapper-despre2 {
        flex-direction: column; 
        text-align: center; 
    }

    .text-content-despre2 {
        font-size: 1.4rem; 
        margin-right: 0;
        margin-bottom: 20px; 
    }

    .image-content-despre2 img {
        max-width: 90%; 
        margin: 0 auto;
    }

    .read-more-btn {
        margin-left: 0; 
        display: block;
        margin: 20px auto;
    }
}

.hero-section {
    display: flex;
    justify-content: center;
    background-color: var(--primary-background-color);
    padding: 28px;
}

.info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-areas: "left image right"; 
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    gap: 20px;
}

.hero-text {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    text-align: justify;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text.left {
    grid-area: left;
}

.hero-text.right {
    grid-area: right;
}

.hero-image {
    grid-area: image;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 1024px) {

    .hero-section {
        height: max(15vh, 400px); 
    }

    .hero-text.left {
        position: relative;
        transform: translateX(42px) translateY(-40px); 
        z-index: 2; 
        background: rgba(255, 255, 255); 
    }

    .hero-text.right {
        position: relative;
        transform: translateX(-68px) translateY(44px); 
        z-index: 2; 
        background: rgba(255, 255, 255); 
    }
}

/* Responsive Design for Mobile (stack elements in one column) */
@media only screen and (max-width: 768px) {
    .info-boxes {
        grid-template-columns: 1fr; 
        grid-template-areas:
            "left"
            "image"
            "right"; 
        gap: 15px;
    }
}

/* Testimonial Section */
.testimoniale-section {
    background: #edf0f2;
    padding: 50px 20px 20px 20px;
    text-align: center;
}

.testimoniale-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* height: 45%; */
    height: auto;
}

.testimoniale-content h2 {
    font-size: 30px;
    font-weight: bold;
    color: #000;
}

.testimoniale-content p {
    font-size: 16px;
    color: black;
    line-height: 1.6;
    margin: 10px 0;
}

.testimonial-profession {
    font-size: 14px;
    color: gray;
}

.testimonial-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: -8%;
    right: 0;
    width: 116%;
    transform: translateY(-50%);
}

.testimonial-buttons button {
    background-color: var(--secondary-background-color);
    color: var(--light-color);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1.5rem;
}

.testimonial-buttons button:hover {
    background-color: var(--primary-background-color);
}

/* For tablets & smaller screens (≤ 768px) */
@media only screen and (max-width: 768px) {
    .testimoniale-content {
        max-width: 100%;
        padding: 20px;
        height: auto;
    }

    .testimoniale-content h2 {
        font-size: 24px;
    }

    .testimoniale-content p {
        font-size: 14px;
    }

    .testimonial-buttons {
        position: relative;
        width: 100%;
        left: 0;
        justify-content: center;
        gap: 10px;
        top: auto;
        transform: none;
        margin-top: 15px;
    }

    .testimonial-buttons button {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }
}

/* For larger screens (≥ 1024px) */
@media (min-width: 1024px) {
    .testimoniale-content {
        max-width: 900px;
        height: auto;
    }

    .testimoniale-content h2 {
        font-size: 36px;
    }

    .testimoniale-content p {
        font-size: 18px;
    }

    .testimonial-buttons {
        width: 120%;
        left: -10%;
    }

    .testimonial-buttons button {
        font-size: 1.7rem;
        padding: 0.6rem 1.2rem;
    }
}

.custom-calendly-badge .calendly-badge-content {
    background: linear-gradient(115deg, #4fcf70, #fad648, #a767e5, #12bcfe, #44ce7b) !important;
    color: #252830 !important; 
    padding: 0 20px !important;
}

/* Footer */
.footer {
    background-color: var(--secondary-background-color);
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem; 
    z-index: 1000;
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
}

.footer-container {
    gap: 1rem; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
}

.company-data{
    display: flex;
    flex-direction: column;
    order: 1;
    justify-content: center;
    align-items: center;
}

.company-description {
    margin-block: 0.5rem; 
    max-width: 60%; 
}

.social-media {
    margin-top: 1rem;
    margin-bottom: 1rem; 
}

.copyright-notice {
    font-size: var(--font-size-xsm); 
    opacity: 0.8;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 1rem;
}
  
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
  
::-webkit-scrollbar-thumb {
    background: #3f4254;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #2e303b;
}

@media screen and (min-width: 1024px) {
    .menu{
        position: static;
        width: initial;
        padding: initial;
        background-color: transparent;
        opacity: 1;
        transform: scale(1);
    }

    .menu > .list{
        flex-direction: row;
    }

    .screen-lg-hidden{
        display: none;
    }

    .screen-sm-hidden{
        display: none;
    }

    .sign-up-btn{
        padding: 4px;
    }

    /* Fancy button animation effect */
    .btn.fancy-border:hover::before{
        animation: animate_border .75s linear infinite
    }

    @keyframes animate_border{
        to{
            transform:translateX(-50%)
        }
    }

    .featured-articles-container{
        grid-template-columns: 1fr 40rem;
    }

    .trending-news-img-box{
        width: 10rem;
        height: 10rem;
    }

    .popular-tags-container{
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container{
        grid-template-columns: repeat(5, 1fr);
    }

    .company-data{
        grid-column: span 2;
    }

    .company-description{
        max-width: 85%;
    }

    .copyright-notice{
        margin-top: auto;
    }

    .blog-post-data img{
        height: 40rem;
    }
}
