@font-face {
    font-family: "Spectral-Bold";
    src: url("../fonts/Spectral-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "Spectral-Regular";
    src: url("../fonts/Spectral-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Spectral-SemiBold";
    src: url("../fonts/Spectral-SemiBold.ttf") format("truetype");
}
/* Style for the entire scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background-color: black;
    /* or any color */
}
/* Style for the scrollbar handle */
::-webkit-scrollbar-thumb {
    background-color: #919295;
}
/* Style for the scrollbar track */
::-webkit-scrollbar-track {
    background-color: #e0e0e0;
}
/* Style for the scrollbar on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* Style for the scrollbar on active state */
::-webkit-scrollbar-thumb:active {
    background-color: #333;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #919295;
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    z-index: 2;
}
.scroll-to-top i {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
    font-family: "Spectral-Regular", sans-serif;
}
h1,h2,h3,h4,h5,h6,p {
    color: #5A5A5A;
    font-family: "Spectral-Bold";
}
p {
    font-size: 24px;
    font-family: "Spectral-Regular";
    color: #5A5A5A;
}
/* CSS for elements initially hidden on the left */
.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}
/* CSS for elements initially hidden on the right */
.hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}
/* CSS for visible elements */
.visible {
    opacity: 1;
    transform: translateX(0);
}
/* CSS for the active state of the navigation links */
.nav-link {
    color: #919295!important;
    font-family: "Spectral-SemiBold";
    font-size: 19px;
}
.card {
    overflow: hidden;
    border-radius: 25px 25px 0 0!important;
    height: 290px!important;
}
.card-img-top {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    object-fit: cover;
}
.get-in-touch {
    min-height: 30vh;
}
.get-in-touch h3 {
    font-size: 48px;
    font-family: "Spectral-Bold";
}
.get-in-touch .content p {
    font-size: 20px;
    font-family: "Spectral-Regular";
}
.get-in-touch .btn {
    border-radius: 30px;
}
.get-in-touch .divider {
    width: 100%;
    height: 1px;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 20px;
}
.get-in-touch .btn-register {
    background-color: white;
    color: black !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bolder;
    padding: 10px 20px;
}
.about-us{
    background-image: url("../img/about-us-image.png");
    background-size: cover;
    background-position: right;
    height: 100vh;
    align-items: center;
    display: flex;
}
.ellipse-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 35% 75% 70% 35% / 55% 45% 65% 50%;
    box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.6;
    border: 1px solid black;
    transition: all 0.3s ease;
}
/* General styling */
.ellipse-card h2 {
    text-align: left;
    margin-bottom: 25px;
    margin-left: 20px;
}
.ellipse-card p {
    font-size: 1.11em;
    color: #666;
    text-align: left;
    margin-left: 20px;
    width: 90%;
}
.about-us h1 {
    font-size: 48px;
    font-family: "Spectral-Bold";
}
.about-us p {
    font-size: 20px;
    font-family: "Spectral-Regular";
    line-height: 40px;
    width: 90%;
}
.hero {
    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: right;
    height: 100vh;
    align-items: center;
    display: flex;
}
.hero h1 {
    font-size: 50px;
    font-family: "Spectral-Bold";
    line-height: 68px;
}
.hero p{
    line-height: 40px;
}
.our-services-at-glance h1 {
    font-size: 36px;
    font-family: "Spectral-Bold";
    line-height: 40px;
    margin-bottom: 15px;
}
.titles {
    font-size: 48px;
    font-family: "Spectral-Bold";
}

.our-services-at-glance .card-title {
    color: #5A5A5A;
    font-family: "Spectral-SemiBold";
    font-size: 20px;
}
.our-services-at-glance .card p {
    font-family: "Spectral-Regular";
    font-size: 18px;
    line-height: 34px;
}
.card-body{
    height: 160px;
}
footer {
    background-color: #F9F9F9;
    padding: 40px 0;
}
.us-card {
    max-width: 800px;
    min-height: 380px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.us-card p {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
}
.contact-card {
    max-width: 800px;
    padding: 40px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.contact-card h2 {
    font-size: 38px;
    color: #5A5A5A;
    margin-bottom: 10px;
    font-family: "Spectral-Regular";
}
.contact-card p {
    font-size: 16px;
    color: black;
    margin-bottom: 30px;
    font-family: "Spectral-Regular";
}
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: black;
    font-family: "Spectral-Regular";
}
.contact-info div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info i {
    font-size: 18px;
    color: #333;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-logo img {
    height: auto;
}
.footer-links h5 {
    font-size: 16px;
    font-weight: bold;
    color: #919295;
    margin-bottom: 10px;
    transition: color 0.3s;
    text-decoration: none;
}
.footer-links h5:hover {
    color: #333;
}
.footer-copy {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    color: #919295;
    font-size: 14px;
}
footer p{
    font-size: 16px;
}
footer a{
    text-decoration: none;
}
/* Desktop (≥992px) */
@media (min-width: 992px) {
    .ellipse-card {
        height: 400px;
    }
}
/* Tablet (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .ellipse-card {
        width: 90%;
        height: auto;
    }
}
@media (max-width: 767px) {
    .ellipse-card {
        width: 100%;
        height: auto;
        padding: 15px;
        border-radius: 12px;  /* Simple rounded corners */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        text-align: left; /* Left-align content for readability */
        margin-bottom: 20px; /* Space between cards */
    }
    .ellipse-card h2 {
        font-size: 1.3em;
        margin-bottom: 10px;
        margin-left: 0; /* Align to left edge */
    }
    .ellipse-card p {
        font-size: 1em;
        margin-left: 0; /* Align to left edge */
        width: 100%; /* Full width for text */
    }
    .our-services-at-glance h1{
        font-size: 25px;
    }
    p {
        font-size: 16px;
    }
    .hero h1 {
        text-align: center;
        font-family: "Spectral-Bold";
        font-size: 25px;
        line-height: 35px;
    }
    .hero h3{
        font-size: 20px;
    }
    .hero button {
        font-size: 14px;
        width: 150px;
        height: 40px;
    }
    .hero p {
        font-size: 15px;
        line-height: 30px;
        text-align: center; 
    }
    .titles {
        font-size: 30px;
        text-align: center;
    }
    .our-services-at-glance .card {
        width: 100%;    
    }
    .our-services-at-glance .card-title {
        font-size: 20px;
    }
    .our-services-at-glance h1 {
        margin-bottom: 0;
    }
    .our-services-at-glance .card p {
        font-size: 15px;
        line-height: 25px;
    }
    .line-why{
        display: none;
    }
    .about-us h1 {
        font-size: 30px;
        text-align: center;
    }
    .about-us p{
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    .why-choose-container .card {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .why-choose-container .card-title {
        font-size: 20px;
    }
    .why-choose-container .card p {
        font-size: 14px;
    }       
    .navbar-brand img {
        width: 120px;
        /* Adjust logo size */
    }
    .nav-item.m-3 {
        margin: 0.2rem 0;
        /* Reduce margin */
    }
    .dropdown-toggle img {
        width: 15px;
        height: 10px;
        /* Adjust language flag size */
    }
    .btn-login,
    .btn-register {
            font-size: 0.8rem;
            /* Adjust font size */
            padding: 0.4rem 0.8rem;
            /* Adjust padding */
            margin-top: 0.5rem;
            /* Add margin-top for spacing */
    }
    .navbar-collapse {
        text-align: center;
        /* Center align items */
    }
    footer h5{
        font-size: 20px;
        text-align: center;
    }
    footer p{
        font-size: 14px;
        text-align: center;
    }
    footer a{
        font-size: 14px;
    }
    .us-card{
        margin-bottom: 15px;
    }
}