:root {
    --primary: #1176bc;
    --primary-dark: #2A324B;
    --white: #ffffff;
    --gray-1: #fff;
    --gray-4: #d9d9d9;
    --dark-3: #8c8c8c;
    --yellow: #C4A64E;
    --text-color: #333;
    --button-color: #1176bc;

    --overlay-color: rgba(0, 0, 0, 0.5);
}


* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Nunito Sans", serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white-color);
    /*background-color : var(--dark-color);*/
}

p {
    text-align: justify;
}


ul {
    list-style: none;
}

/*Navbar*/
.navbar {
    padding: 1rem;
}

navbar-toggler-icon {
    color: var(--primary);
}

.navbar-nav .nav-link {
    color: var(--black);
    font-weight: 600;
    margin-top: 0.3rem;
    margin-left: 2rem;
    font-size: 1.25rem;
    padding: 0.5rem 0.5rem !important;
    transition: color 0.3s ease;
}

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

.try-it-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.try-it-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}


/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
    }

    .navbar-nav .nav-link:hover {
        background-color: var(--primary-dark);
    }

    .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem;
    }

    .try-it-btn {
        margin-right: 0;
        text-align: center;
        display: block;
    }

    .linkedin-icon {
        margin: 0;
    }

    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 0.5rem;
    }
}

/* Animation for mobile menu */
@media (max-width: 991px) {
    dot-pattern {
        opacity: 0;
    }

    .navbar-collapse {
        transform-origin: top;
        transition: all 0.3s ease-out;
    }

    .navbar-collapse.collapsing {
        transform: scaleY(0);
    }

    .navbar-collapse.show {
        transform: scaleY(1);
    }
}

/* Footer */
.footer-section {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    font-family: Arial, sans-serif;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    width: 176px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.footer-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    font-size: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/*Privacy Policy Page*/
.privacy-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.privacy-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.privacy-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}


.highlight {
    color: var(--primary);
    font-weight: 600;
}


/*GDPR PAge*/

.gdpr-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 15px;
}

.section-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;

}

.section-title {
    color: var(--primary--dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 0.5rem;
}

.contact-card {
    background: var(--gray-4);
    border-left: 4px solid var(--primary);
}

ul.data-list {
    list-style-type: none;
    padding-left: 1rem;
}

ul.data-list li {
    margin-bottom: 0.8rem;
}

/*Founder Page*/
.founder {
    padding: 1rem 0.5rem 1rem 0.5rem;
    background-color: var(--gray-1);
    border-radius: 0.5rem;
    position: relative;
}

.found-text {
    text-align: justify;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: -3rem;
    z-index: 2;
    transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.found-text.truncated {
    max-height: 300px;
    position: relative;
    margin-bottom: 0;
}

.found-text.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #f8f9fa);
    transition: opacity 0.5s ease;
}

.found-text:not(.truncated) {
    max-height: 2000px;
    /* Adjust this value based on your content length */
}

.found-text:not(.truncated)::after {
    opacity: 0;
}

.read-more-text {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.read-more-text:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.founder-image {
    border-radius: 0.25rem;
    ;
}

.custom-card {
    position: relative;
    z-index: 1;
    /* Keeps image below text */
}

@media (max-width: 768px) {
    .found-text {
        margin-right: 0;
        /* Remove overlap on mobile */
        margin-bottom: 2rem;
    }
}