/* Nunito Font */
body {
    font-family: 'Nunito', sans-serif;
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-light .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
}

    .navbar-light .navbar-nav .nav-link:hover {
        background: rgba(79, 66, 216, 0.1);
        color: #4f42d8 !important;
        transform: translateY(-2px);
    }

/* Sticky Navbar with Enhanced Glassmorphism */
.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-purple {
    background-color: #4f42d8;
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 66, 216, 0.3);
}

    .btn-purple:hover {
        background-color: #3d32b0;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(79, 66, 216, 0.4);
        color: white;
    }

/* Masthead / Hero Section */
.masthead {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero section with background image */
#hero {
    background:  url('../img/rectangle-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Alternative: If you want a solid gradient background */
#hero {
    background:  url('../img/rectangle-1.png');
}

/* Alternative: Pattern background */
#hero {
    background:  url('../img/rectangle-1.png');
    background-color: #ffffff;
}

.masthead h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.masthead h3 {
    font-size: 1.25rem;
    color: #666;
    font-weight: 400;
}

/* Masthead 2 */
.masthead-2 {
    background: linear-gradient(135deg, #4f42d8 0%, #2ca78d 100%);
    border-radius: 20px;
    padding: 60px 20px;
    margin-top: 80px;
}

/* Cards */
.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .card:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.card-header {
    background-color: rgba(79, 66, 216, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 10px 10px 0 0 !important;
}

.card-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    font-family: 'Nunito', sans-serif;
}

    .footer a {
        transition: all 0.3s ease;
    }

        .footer a:hover {
            transform: translateY(-2px);
            opacity: 0.8;
        }

/* Language Flags Section */
.language-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.language-item {
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

    .language-item:hover {
        transform: translateY(-5px);
    }

    .language-item img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        margin-bottom: 0.75rem;
        transition: transform 0.3s ease;
    }

    .language-item:hover img {
        transform: scale(1.1);
    }

    .language-item p {
        margin-bottom: 0;
        font-weight: 500;
        font-size: 1rem;
        color: #333;
    }

/* Feature Cards */
.feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

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

    .feature-card img {
        height: 90px;
        margin-bottom: 1.5rem;
    }

    .feature-card .feature-title {
        font-weight: bold;
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

/* Team Section */
.team-section {
    background-color: #4f42d8;
    border-radius: 20px;
    margin-top: 80px;
    padding: 3rem 2rem;
}

    .team-section img {
        max-width: 100%;
        height: auto;
    }

/* FAQ Section */
.faq-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

/* Contact Section */
.contact-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

    .contact-section iframe {
        border-radius: 10px;
    }

/* Store Badges */
.store-badges {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

    .store-badges img {
        max-width: 150px;
        height: auto;
    }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Typography */
p {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Responsive Design */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .masthead h1 {
        font-size: 3rem;
    }

    .masthead h3 {
        font-size: 1.1rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .masthead {
        min-height: auto;
        padding-top: 3rem;
        text-align: center;
    }

        .masthead h1 {
            font-size: 2.5rem;
        }

        .masthead h3 {
            font-size: 1rem;
        }

    .navbar-light .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }

    .masthead-2 {
        padding: 40px 20px;
        margin-top: 60px;
    }

        .masthead-2 .row > div {
            margin-bottom: 1.5rem;
        }

    .team-section {
        padding: 2rem 1rem;
        margin-top: 60px;
    }

        .team-section .row > div {
            margin-bottom: 2rem;
        }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .language-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .faq-section,
    .contact-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .store-badges {
        justify-content: center;
        margin-top: 30px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .masthead h1 {
        font-size: 2rem;
    }

    .masthead h3 {
        font-size: 0.95rem;
    }

    .hidden-xs {
        display: none !important;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

        .navbar-brand img {
            height: 40px !important;
        }

    .btn-purple {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .masthead-2 p {
        font-size: 1.5rem !important;
    }

    .feature-card img {
        height: 70px;
    }

    .feature-card .feature-title {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .language-item {
        padding: 1rem 0.5rem;
    }

        .language-item img {
            width: 50px;
            height: 50px;
        }

        .language-item p {
            font-size: 0.9rem;
        }

    .team-section h2,
    .team-section p {
        font-size: 1rem !important;
        padding-top: 20px !important;
    }

    .footer {
        padding: 2rem 1rem !important;
    }

        .footer .col-md-4 {
            margin-bottom: 2rem;
            text-align: center;
        }

    .contact-section iframe {
        height: 300px !important;
        margin-bottom: 1rem;
    }

    .card-header h5 button {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .masthead {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

        .masthead h1 {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .masthead h3 {
            font-size: 0.85rem;
        }

    .btn-purple {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

        .store-badges img {
            max-width: 140px;
        }

    .masthead-2 {
        padding: 30px 15px;
        margin-top: 40px;
    }

        .masthead-2 p {
            font-size: 1.25rem !important;
            margin-bottom: 0.5rem;
        }

    .language-section,
    .faq-section,
    .contact-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .language-item {
        padding: 0.75rem 0.25rem;
        margin-bottom: 1rem;
    }

        .language-item img {
            width: 45px;
            height: 45px;
        }

        .language-item p {
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

    .feature-card {
        padding: 1.5rem 0.5rem;
        margin-top: 1.5rem;
    }

        .feature-card img {
            height: 60px;
            margin-bottom: 1rem;
        }

        .feature-card .feature-title {
            font-size: 1rem;
            margin-top: 1rem;
        }

        .feature-card p {
            font-size: 0.85rem;
        }

    .team-section {
        margin-top: 40px;
        padding: 1.5rem 1rem;
    }

        .team-section img {
            margin-bottom: 1.5rem;
        }

    .footer {
        margin-top: 60px !important;
        padding-top: 30px !important;
        min-height: auto !important;
    }

        .footer .col-md-4 {
            margin-bottom: 1.5rem;
        }

        .footer p,
        .footer a {
            font-size: 0.9rem;
        }

    .card-header h5 button {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .card-body {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Fix for column spacing on mobile */
@media (max-width: 767.98px) {
    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .masthead h1 {
        font-size: 1.5rem;
    }

    .navbar-brand img {
        height: 35px !important;
    }
}
