body {
    /*background-color: rgb(16, 21, 46) !important;*/
    margin: 0;
    height: 100vh;
    background: linear-gradient(-45deg, #10152e, #001f3f, #003f3f, #013220);
    background-size: 5000% 5000%;
    animation: gradient 30s ease infinite;
    font-family: "Inter", serif !important;
}

/* Gradient Animation */

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*NAVBAR SECTION*/

.navbar-custom {
    position: fixed !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    background-color: rgba(16, 21, 46, 0.8);
    width: 60%;
    /* Make it wider by default */
    max-width: 800px;
    /* Set a max-width for larger screens */
    z-index: 500;
    transition: background-color 0.3s ease, width 0.3s ease;
    padding: 10px 45px !important;
}

.navbar-custom .nav-link {
    color: rgb(238, 227, 227) !important;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.navbar-custom .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-transparent {
    background-color: transparent;
}


.navbar-nav a {
    font-weight: 800;
    font-size: 20px;
}

.navbar-toggler {
    border-color: white !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 40px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.toggle-option.active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.toggle-option img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
}

.option-card {
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.option-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.demo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    margin-bottom: 20px;
}

/* Top-left positioning */
/* Top-left language card */
/* Positioning language card in top-right */
#languageCard {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    border-radius: 12px;
    padding: 8px 14px;
}

/* Optional: subtle shadow */
#languageCard .toggle-switch {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white !important;
}

.logo {
    width: 80px;
    height: 80px;
}

/* Responsive fix for small devices */
@media (max-width: 795px) {
    #languageCard {
        top: 60px;          /* lower to avoid navbar */
        right: 10px;
        padding: 5px 5px;
    }

    .toggle-option {
        padding: 10px 10px;
        font-size: 13px;
        flex-direction: column;
        text-align: center;
    }

    .toggle-switch {
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .navbar-custom {
        width: 60% !important; /* Make navbar take up most of the screen */
        padding: 10px !important;
    }

    .navbar-nav {
        gap: 10px !important; /* Reduce gap between nav items */
        background-color: #161b36cf;
    }

    .navbar-brand {
        margin-right: auto; /* Push brand to the left */
    }
}


.site-title h1{
    color: white;
    font-weight: 900 !important;
}

.first-section {
    padding: 100px !important;
}

.service-section {
    color: white;
}

.section-model {
    background-color: rgba(16, 21, 46, 0.8);
    padding: 50px;
    border-radius: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    min-height: 220px;
}

.section-model.selected {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    background-color: #48beec !important;
}

.section-model.selected:hover {
    background-color: #66c9ea !important;
}

.clickable-div {
    flex: 1;
    cursor: pointer;
}



.clickable-div:hover .section-model {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1); /* Adjust the color as needed */
}

.section-model img {
    height: auto;
}

.content-services {
    margin-top: 20px;
    padding: 10px;
}


.text {
    font-weight: 800 !important;
    color: white !important;
}

.service-img {
    background-color: transparent !important; 
    border: none !important;
}

.content-image {
    background-color: transparent !important;
    border: none !important;
    width: 300;
}

.service-info {
    font-size: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4c6baf; /* Green background */
    color: white; /* White text */
    text-align: center;
    text-decoration: none; /* No underline */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Adjust font size */
}

.ctn-delay {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.flag-icon {
    width: 80px;
    height: 80px;
    margin-right: 25px;
}

.top-right {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    text-align: right;
    z-index: 2;
}

.language-button {
    appearance: none;
    background-color: #FFFFFF;
    border-radius: 1em;
    border-style: none;
    box-shadow: #ADCFFF 0 -12px 6px inset;
    box-sizing: border-box;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.24px;
    margin: 0;
    outline: none;
    padding: 0.5rem 1rem;
    quotes: auto;
    text-align: center;
    text-decoration: none;
    transition: all .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .language-button:hover {
    background-color: #29fbff;
    box-shadow: #14d8ff 0 -6px 8px inset;
    transform: scale(1.125);
  }
  
  .language-button:active {
    transform: scale(1.025);
  }

  .language-button:disabled {
    background-color: #c6c6c698;
    box-shadow: #9c9c9c76 0 -6px 8px inset;
  }

  @media (max-width: 768px) {
    .language-button {
      font-size: 1.5rem;
      padding: .75rem 2rem;
    }

    .flag-icon {
        width: 30px; /* Smaller flags for smaller screens */
    }

    .language-button {
        font-size: 12px; /* Smaller font size for buttons */
        padding: 4px 8px; /* Smaller padding for buttons */
    }
    
  }

@media (max-width: 768px) {
    .clickable-div {
        flex: 1 1 100% !important;
        margin-bottom: 20px;
    }

    .section-model {
        padding: 20px !important;
    }

    .service-img {
        width: 80px !important;
        height: 80px !important;
    }

    .h4-custom {
        font-size: 18px !important;
    }

    .content-services .row {
        flex-direction: column;
    }

    .content-services .col-6 {
        width: 100% !important;
    }

    .content-image {
        margin-top: 30px;
        width: 50% !important;
        height: auto !important;
    }

    .service-info {
        font-size: 16px !important;
    }

    .button {
        width: 100% !important;
        text-align: center;
    }

    .first-section {
        padding: 50px 20px !important;
    }

    .site-title .text {
        font-size: 24px !important;
    }

    .service-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .clickable-div {
        width: 90% !important;
    }
    .section-model {
        padding: 10px !important;
    }
    .service-img {
        width: 100px !important;
        height: 100px !important;
    }

    .flag-icon {
        width: 40px !important; /* Reduce flag size */
        height: 40px !important;
        margin-right: 10px !important; /* Reduce margin */
    }

    .top-right {
        top: 10px !important; /* Adjust top position */
        right: 10px !important; /* Adjust right position */
    }
}