/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", system-ui;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 6%;
    background-color: #1d0469;
}

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 100%;
    padding: 15px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

/* UAE Flag */
.uae-flag img {
    height: 30px;
    margin-left: 20px;
}

.uae-flag {
    display: flex;
    align-items: center;
}

/* Hover effect */
.nav-links li a:hover {
    color: #ffca28;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Hide Navigation Links for Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #1d0469;
        width: 100%;
        text-align: center;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }
}




/* Hero Section with Parallax Effect */
.hero {
    position: relative;
    text-align: center;
    padding: 150px 20px;
    background: url('../images/dubai.jpg') no-repeat center center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    background-attachment: fixed;
    background-size: cover;
    /* background-position: center center; */
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 290px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: black;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: black;
}

.cta-button {
    text-decoration: none;
    color: #010e5a;
    background-color: #fff;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    border-style: groove;
    border-width: 2px;
}

.cta-button:hover {
    background-color: #1d0469;
    color: #fff;
    border: none;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
        height: auto;
        background-size: cover;
        /* background-size: 100% 100%;   */
        background-position: center center;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 30px;
        /* Smaller padding for mobile */
        border-radius: 15px;
    }

    .hero h1 {
        font-size: 2rem;
        color: black;
        /* Reduce heading size */
    }

    .hero .hero-content h2 {
        font-size: 2rem;
        color: black;
        /* Reduce heading size */
    }

    .hero p {
        font-size: 1.2rem;
        color: black;
        /* Reduce paragraph size */
    }

    .cta-button {
        font-size: 0.9rem;
        /* Adjust button size */
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
        height: auto;
        background-size: cover;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 20px;
        /* Even smaller padding for smaller devices */
        border-radius: 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
        /* Further reduce heading size */
    }

    .hero p {
        font-size: 1rem;
        /* Further reduce paragraph size */
    }

    .cta-button {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
}



/* Company Overview Section */
.company-overview {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 200px;
}

.company-overview h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #343434;
}


/* Overview Content */
.overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.overview-image {
    flex: 1 1 45%;
    text-align: center;
}

.overview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.overview-text {
    flex: 1 1 45%;
    padding: 20px;
}

.overview-text p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
}

@media (max-width: 768px) {
    .overview-content {
        flex-direction: column;
    }

    .overview-image,
    .overview-text {
        flex: 1 1 100%;
    }

    .overview-image {
        margin-bottom: 20px;
    }
}



/* Featured Services Section */
.featured-services {
    padding: 0 20px 20px 20px;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 150px;
}

.featured-services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #343434;
}

.home-services-intro {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
    font-size: 1rem;
    color: #555;
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.service-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: calc(25% - 15px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.3rem;
    padding: 15px 10px;
    color: #1d0469;
    margin: 0;
    height: 110px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f9f9f9;
    transition: background 1.5s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .service-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
    }
}


/* Testimonials Section */
.testimonials {
    padding: 10px 20px 40px 20px;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    position: relative;
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 150px;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #343434;
}

/* Carousel Container */
.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-control {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    color: #007BFF;
    transition: color 0.3s;
    user-select: none;
}

.carousel-control:hover {
    color: #0056b3;
}

/* Testimonial Cards */
.testimonial-cards {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: none;
    transition: opacity 0.5s ease-in-out;
    box-sizing: border-box;
}

.testimonial-card.active {
    display: block;
}

.testimonial-card p {
    font-style: italic;
    font-size: large;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-weight: bold;
    color: #1d0469;
    text-align: right;
    margin-top: auto;
}

@media (max-width: 768px) {
    .carousel-control {
        font-size: 1.5rem;
    }
}


/* Service Details Section */
.service-details {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 20px auto;
    text-align: left;
}

.service-details-header {
    text-align: center;
    margin-bottom: 30px;
}

.service-details-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #343434;
}

.service-details-header p {
    font-size: 1.2rem;
    color: #555;
}

.service-details-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-image {
    flex: 1 1 40%;
    padding-top: 40px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-description {
    flex: 1 1 55%;
    padding: 20px;
}

.service-description h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #343434;
}

.service-description p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.service-description h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #343434;
}

.service-description ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.service-description li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .service-details-content {
        flex-direction: column;
    }

    .service-image,
    .service-description {
        flex: 1 1 100%;
    }
}



/***************************** OUR SERVICES ***************************/
/* General Section Styling */
.services-intro,
.services-list,
.cta-contact-us {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.services-intro,
.cta-contact-us {
    margin-top: 0;
}

.services-intro {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Services Introduction */
.services-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    text-align: left;
}

/* Services Cards Section */
.services-list {
    padding-top: 0;
}

.services-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: calc(25% - 20px);
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 5px;
}

.service-card .service-card-header {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1d0469;
    background: none;
    padding: 0;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Call to Action Section */
.cta-contact-us {
    padding: 60px 40px;
    background-color: #1d0469;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-contact-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-contact-us p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        width: calc(50% - 20px);
    }

    .cta-contact-us {
        margin: 20px 10px;
        /* Add more margin to the sides */
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
    }

    .cta-contact-us {
        margin: 20px 15px;
        /* Ensure space on the sides */
    }
}





/***************************** CONTACT US ***************************/

/* General Section Styling */
.contact-us-body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.contact-intro,
.contact-form-info,
.additional-contact-info {
    padding: 40px 20px;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.contact-intro {
    padding-bottom: 0;
}

.contact-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
}

.contact-intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

/* Contact Form and Information Section */
.contact-form-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5rem;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
    margin-bottom: 40px;
}

/* Contact Form Container Styling */
.contact-form-container,
.contact-info-container {
    flex: 1 1 45%;
    padding: 30px;
    text-align: left;
}

.contact-form-container h3,
.contact-info-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #1d0469;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 5px;
    font-size: 1rem;
}

/* Submit Button Styling */
button.cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #1d0469;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

button.cta-button:hover {
    background-color: #0056b3;
}

/* Contact Information Container Styling */
.contact-info-container .contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-container .contact-details a {
    color: #1d0469;
    text-decoration: none;
}

.contact-info-container .contact-details a:hover {
    text-decoration: underline;
}

/* Google Map Container */
.map-container {
    margin-top: 20px;
    text-align: center;
}

.map-container h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1d0469;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-info {
        flex-direction: column;
        padding: 20px;
    }

    .contact-form-container,
    .contact-info-container {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-intro h2 {
        font-size: 2rem;
    }

    .contact-form-container h3,
    .contact-info-container h3,
    .map-container h4 {
        font-size: 1.5rem;
    }

    input,
    textarea {
        font-size: 0.9rem;
    }

    button.cta-button {
        font-size: 1rem;
        padding: 12px;
    }
}



/* Special Invitation Section */
.special-invitation {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    position: relative;
    top: 150px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.special-invitation h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1d0469;
}

.invitation-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Text Content */
.invitation-text {
    flex: 1 1 45%;
    text-align: left;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.invitation-text strong {
    color: #1d0469;
}

.host-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.host-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Carousel Gallery */
.invitation-gallery {
    flex: 1 1 45%;
    position: relative;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

/* Carousel Gallery */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;

    /* Убедимся, что изображения за пределами видимой области скрыты */
}

.carousel-images img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* Добавляем обрезку изображения */
    height: 300px;
    /* Высота контейнера */
    object-fit: cover;
    /* Обрезаем изображение, чтобы оно соответствовало контейнеру */
    object-position: center;
    /* Центрируем изображение внутри контейнера */
    aspect-ratio: 16 / 9;
    /* Опционально: задаём пропорции, например 16:9 */
}


.carousel-control {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1d0469;
    transition: color 0.3s;
    user-select: none;
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .invitation-content {
        flex-direction: column;
        align-items: center;
    }

    .invitation-text,
    .invitation-gallery {
        flex: 1 1 100%;
        text-align: center;
    }

    .carousel-images img {
        height: auto;
    }

    .carousel-control {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .special-invitation h2 {
        font-size: 1.8rem;
    }

    .invitation-text {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .carousel-control {
        font-size: 1.2rem;
    }

    .host-photo {
        width: 40px;
        height: 40px;
    }
}

/* Videos Section */
.videos-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 150px;
}

.videos-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1d0469;
}

.video-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

/* Vertical Video Wrapper */
.video-wrapper {
    flex: 1 1 60%;
    max-width: 350px;
    /* Limit the max width for vertical format */
    aspect-ratio: 9 / 16;
    /* Ensures proper aspect ratio for vertical videos */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video fills the container without distortion */
    border-radius: 10px;
    outline: none;
}

.video-description {
    flex: 1 1 35%;
    font-size: 1.1rem;
    color: #555;
    text-align: left;
    line-height: 1.6;
}

.video-description strong {
    color: #1d0469;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-content {
        flex-direction: column;
        align-items: center;
    }

    .video-wrapper {
        flex: 1 1 100%;
        max-width: 300px;
        /* Adjust for smaller screens */
    }

    .video-description {
        text-align: center;
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .videos-section h2 {
        font-size: 1.8rem;
    }

    .video-description {
        font-size: 1rem;
    }

    .video-wrapper {
        max-width: 250px;
        /* Further adjustment for very small screens */
    }
}

.about-the-bank {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: left;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-the-bank h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1d0469;
}

.about-the-bank ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    color: #555;
}

.about-the-bank ul li {
    margin-bottom: 10px;
}

.bank-image {
    flex: 1 1 40%;
    margin-bottom: 20px;
}

.bank-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bank-description {
    flex: 1 1 55%;
    padding: 20px;
}

.bank-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h1 {
    font-size: 2.5rem;
    color: #1d0469;
}


@media (max-width: 768px) {
    .about-bank-content {
        flex-direction: column;
    }

    .bank-image,
    .bank-description {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .bank-image img {
        width: 90%;
        /* Adjust this percentage as needed */
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }
}





/***************************** FOOTER ***************************/

/* General Footer Styling */
.footer {
    background-color: #1d0469;
    color: #fff;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    /* Ensures the 'top' property works properly */
    top: 150px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Footer Links Section */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    /* Accent color for headings */
    font-weight: bold;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ffca28;
}

/* Footer Contact Information */
.footer-contact p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    text-decoration: underline;
    color: #ffca28;
}

/* Social Media Links */
.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-social .social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
    color: #555;
}

.footer-social .social-icons a:hover img {
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #fff;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}