:root {
    --primary-color: #FFCC00;

    --secondary-color: #002147;

    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --transition: all 0.3s ease-in-out;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    color: #fff;
    text-align: center;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

.video-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    overflow: hidden;
}


.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;

}



@media (max-width: 480px) {
    .video-background {

        height: calc(100vw * 0.5625);

        border-radius: 0;
        margin: 0;

    }



    .video-background video {
        border-radius: 0;

    }

    .video-content-container {
        padding: 10px;
        width: 100%;

    }
}


@media (min-width: 481px) and (max-width: 768px) {
    .video-background {
        height: calc(100vw * 0.5625);
        border-radius: 8px;
        margin: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .video-background video {
        border-radius: 8px;
    }

    .video-content-container {
        padding: 15px;
        width: calc(100% - 20px);
    }
}


@media (min-width: 769px) {
    .video-background {

        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
    }

    .video-content-container {
        padding: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }


    @media (min-width: 769px) and (max-width: 1024px) {
        .video-background {

            position: relative;

            height: 500px;

            border-radius: 10px;
            margin: 20px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .video-background video {

            border-radius: 10px;
        }

        .video-content-container {

            padding: 20px;

            width: calc(100% - 40px);

            margin: 0 auto;
        }
    }

}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    opacity: 0;
}


.hero-content.fade-in {
    animation: justFadeIn 1.5s ease-out forwards;
}


@keyframes justFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 20px));
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-content p {
    color: #fff;
    font-size: 1rem;

    max-width: 800px;
    margin: 0 auto 25px;
}

.hero-content h1 {
    font-size: 2.8rem;

    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}




@media (min-width: 481px) and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem !important;

    }

    .hero-content p {
        font-size: 0.9rem !important;

        max-width: 90% !important;
    }
}


@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-content p {
        font-size: 0.75rem !important;
        max-width: 90% !important;
    }
}



body {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);

}

p {
    color: black;
}

ul li {
    color: black;

}

.Vision {
    background: url("assets/vision.jpg");
    background-size: cover;
    background-position: center;
    min-height: 300px;
    margin-top: 50px;
    margin-bottom: 50px;

}

.Vision .content-card {
    background: transparent;
}

.Vision .content-card p,
.Vision .content-card h3 {
    color: gold;
}


.main-header {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(13, 110, 253, 0.95);
    padding: 5px 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

.navbar-brand img {
    width: 500px !important;
    max-height: 500px !important;
}

.nav-item {
    margin: 8px 5px;
}

.nav-link {
    background-color: gold;

    color: #002448 !important;

    font-weight: 500;
    padding: 8px 20px !important;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid black;
}

.nav-link:hover {
    background-color: #FFB92A !important;

    color: #002448 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.nav-link::after {
    display: none;
}


.nav-link i.fa-phone {
    transform: rotate(20deg);
    margin-left: 5px;
}

.navbar-toggler {
    background-color: white;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.img-container {
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    margin-bottom: 30px;
    transition: var(--transition);
}

.img-container img {
    width: 100%;

    height: auto;

    object-fit: scale-down;

}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    height: 94.3%;

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;

    margin-bottom: 30px;
    position: relative;

}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-container img.active {
    opacity: 1;
    z-index: 1;
}


.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80%;
    margin: auto;
    padding: 20px;
    overflow: hidden;
    background-color: white;
    border-radius: 15px;
}

.gallery-slide {
    width: 100%;
    height: 750px;

    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slide img.active {
    opacity: 1;
}

.nav-arrow {
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
}


.nav-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-arrow.prev {
    left: 5%;
}

.nav-arrow.next {
    right: 5%;
}


.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start;

}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}


.footer-links a {
    display: inline-block;

    background-color: #FFCC00;

    color: #002147;

    padding: 8px 16px;

    border-radius: 25px;

    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    background-color: #FFD633;

    color: #002147;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}


.btn:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}


.navbar {
    transition: background-color 0.4s ease-in-out;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);

}


.img-container img {
    transition: transform 0.4s ease-in-out;
}

.img-container img:hover {
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 60vh;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .img-container {
        height: 200px;
    }
}


@media screen and (max-width: 431px) {


    :root {
        --transition: all 0.2s ease-in-out;
    }


    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-bottom: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 15px;
    }


    .btn-container {
        left: 50%;
        padding-top: 5%;
    }

    .btn-container .btn {
        padding: 8px 16px;
        font-size: 14px;
    }


    .navbar-brand {
        font-size: 20px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .nav-link {
        margin: 5px 0;
        font-size: 14px;
    }


    .hero-section {
        height: 50vh;
    }


    .container-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }


    .img-container,
    .image-container {
        width: 100%;
        height: auto;
        max-height: 300px;

        margin-bottom: 15px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;

    }

    .img-container img,
    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;

        display: block;
    }

    .image-container img.active {
        opacity: 1;
        z-index: 1;
    }

    .gallery-container {
        display: none;
    }

    .gallery-slide {
        width: 100%;
        max-width: 431px;

    }

    .gallery-slide img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        object-fit: scale-down;
    }


    .nav-arrow {
        font-size: 18px;
        padding: 8px;
        background-color: rgba(0, 33, 71, 0.7);
    }

    .nav-arrow.prev {
        left: 5px;
    }

    .nav-arrow.next {
        right: 5px;
    }


    .content-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .section-title {
        margin-bottom: 30px;
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
        margin: 10px auto 0;
    }

    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer .col-md-4 {
        margin-bottom: 20px;
        text-align: center;
        align-items: center;
    }

    .social-icons {
        gap: 8px;
        justify-content: center;
        margin-top: 15px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .copyright {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 12px;
    }


    .fade-in,
    .slide-in {
        transform: translateY(10px);
    }

    .visible {
        transform: translateY(0);
    }


    .btn:hover {
        transform: scale(1.02);
    }


    .img-container img:hover {
        transform: scale(1.05);
    }
}


@media screen and(max-width: 601px) {

    .img-container,
    .image-container {
        height: 300px;
    }

    .gallery-slide {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .nav-arrow {
        padding: 10px;
    }
}

@media screen and (max-width: 1025px) {


    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }


    .btn-container {
        left: 55%;
        padding-top: 7%;
    }

    .btn-container .btn {
        padding: 10px 20px;
        font-size: 16px;
    }


    .navbar-brand {
        font-size: 22px;
    }

    .navbar-brand img {
        height: 45px;
    }

    .nav-link {
        margin: 8px 0;
        font-size: 16px;
    }


    .hero-section {
        height: 60vh;
    }


    .container-wrapper {
        flex-direction: row;

        gap: 20px;
        padding: 0 15px;
    }


    .img-container,
    .image-container {
        width: 100%;
        height: 450px;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
    }

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .image-container img.active {
        opacity: 1;
        z-index: 1;
    }


    .gallery-container {
        width: 90%;
        padding: 10px;
    }

    .gallery-slide {
        height: 400px;
    }

    .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .nav-arrow {
        font-size: 20px;
        padding: 12px;
        background-color: rgba(0, 33, 71, 0.7);
    }

    .nav-arrow.prev {
        left: 15px;
    }

    .nav-arrow.next {
        right: 15px;
    }


    .content-card {
        padding: 25px;
        margin-bottom: 25px;
    }

    .section-title {
        margin-bottom: 40px;
        font-size: 2rem;
    }

    .section-title::after {
        width: 70px;
        height: 4px;
        margin: 15px auto 0;
    }


    .footer {
        padding: 50px 0 20px;
        margin-top: 60px;
    }

    .footer .col-md-4 {
        margin-bottom: 30px;
        text-align: left;

    }

    .social-icons {
        gap: 12px;
        justify-content: flex-start;
        margin-top: 20px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        font-size: 14px;
    }


    .fade-in,
    .slide-in {
        transform: translateY(15px);
    }

    .visible {
        transform: translateY(0);
    }


    .btn:hover {
        transform: scale(1.03);
    }


    .img-container img:hover {
        transform: scale(1.08);
    }
}

.news-ticker-container {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    direction: rtl;
}

.news-ticker-label {
    background-color: #F1AD16;
    color: #002448;
    font-weight: bold;
    padding: 10px 15px;
    display: inline-block;
    float: right;
    height: 100%;
    position: relative;
    z-index: 2;
}

.news-ticker-content {
    white-space: nowrap;
    overflow: hidden;
    height: 40px;
    position: relative;
    padding-right: 15px;
}

.news-button {
    display: inline-block;

    background-color: #ffffff;

    padding: 5px 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

}

.news-button .back-btn {
    color: inherit;

    text-decoration: none;

}

.ticker-item {
    position: absolute;
    white-space: nowrap;
    padding: 10px 20px;
    color: black;
    cursor: pointer;
    font-size: 15px;
    top: 0;
    right: -300px;

}

.ticker-item-moving {
    animation: item-scroll 15s linear forwards;
}

@keyframes item-scroll {
    0% {
        right: -300px;
    }

    100% {
        right: 100%;
    }
}


@media (max-width: 768px) {
    .ticker-item-moving {
        animation-duration: 12s;
    }
}

@media (max-width: 601px) {
    .ticker-item {
        padding: 8px 15px;
        font-size: 14px;
    }

    .ticker-item-moving {
        animation-duration: 10s;
    }
}

@media (max-width: 431px) {
    .ticker-item {
        padding: 6px 12px;
        font-size: 13px;
    }

    .ticker-item-moving {
        animation-duration: 8s;
    }
}