:root {
    /*heading color*/
    --main-color: rgb(52, 52, 52);
    /*text color*/
    --secondary-color: rgb(116, 129, 130);
    --third-color: rgb(255, 255, 255);
    /* icon bg-color */
    --background-color1: #f7f7f7;
    /* btn bg-color */
    --background-color2: #1C1C1C;
    --bs-navbar-toggler-focus-width: 0;
}



body {
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}


a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}





/* start navbar*/

nav:hover {
    background-image: linear-gradient(180deg, rgba(18, 18, 18, 0.9) 0%, rgba(255, 255, 255, 0.68) 100%) !important;
}
.navbar-nav li a.active {
    color: #FF5C28 !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
}

.navbar-nav li a.nav-link {
    color: rgb(255, 238, 242);
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    transition: color 1s;
    align-items: center;
    font-family: "Poppins", sans-serif;

}
.langEn img {
    max-width: 100%;
    height: auto;
}

.langAr img {
    max-width: 100%;
    height: auto;
}
.navbar-nav li a:hover.nav-link {
    color: #b5aeb0;

}

.navbar-toggler {
    border: none;
    --bs-navbar-toggler-focus-width: 0;
}

.navbar-toggler:hover {
    border: none;
}

/* Ensure the header text is right-aligned in RTL mode */
header[dir="rtl"] .header-content h1 {
    text-align: right;
}

header[dir="rtl"] .header-content p {
    text-align: right;
}

/* Adjust the navbar items to ensure proper RTL alignment */
header[dir="rtl"] .navbar-nav {
    margin-right: 0;
}

header[dir="rtl"] .navbar-nav .nav-link {
    text-align: right;
}




/* Adjust the logos and language switcher */
/* header[dir="rtl"] .langEn, header[dir="rtl"] .langAr {
  display: inline-block;
  margin: 0 10px;
} */
/*end rtl header*/

/*start of header bg-image*/
.bg-image {
    background-image: url(../../images/Rectangle-18.png);
    height: 700px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);

}

/*end of header bg-image*/


/*start header-content*/
.header-content {
    margin-top: 40px;
    width: 80%;
    /* text-align: left; */

}

.header-content h1 {
    color: var(--third-color);
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 2px;
    font-family: "Montserrat", sans-serif;

}

.txt-color {
    font-family: Roboto;
    font-size: 40px;
    font-weight: 600;
    line-height: 56.25px;
    color: #FF5C28;
    margin-left: 5px;
}

.header-content p {
    color: var(--third-color);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: 1px;
    word-spacing: 2px;
    font-family: "Montserrat", sans-serif;

}

/*buttons*/
.header-content .btn1 {
    background-color: chocolate;
    color: #fff;
    font-family: "Alegreya Sans", sans-serif;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    background-color: #8e7754;
    border-radius: 4px;
    text-align: center;
}

.header-content .btn2 {
    color: #f4f4fa96;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 28px;
    border: 1px solid #cbc3d497;
    margin-left: 12px;
    background-color: transparent;
    border-radius: 4px;
    text-align: center;
}

.header-content .btn1:hover,
.header-content .btn2:hover {
    color: #0b0808;
    background-color: #fff;
}



/*end header-content*/






/* Hero Section  */
/* Replace with your image */
/* .hero {
    position: relative;
    background-image: url(https://dbigroup.vip/wp-content/uploads/2024/04/Rectangle-18.png); 
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    text-align: left;
    display: flex;
    justify-content: left;
    align-items: center;
}

.hero .content {
    max-width: 600px;
    background-color: transparent; /* Make the content background transparent */
padding: 180px;
border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    text-align: left;
    align-items: left;
    color: #ffffff;
}

.hero p2 {
    font-size: 3rem;
    text-align: left;
    align-items: left;
    color: #c94e1e;
}

.hero p {
    font-size: 1rem;
    margin: 20px 0;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.buttons {
    display: flex;
    gap: 20px;
    /* Reduced gap for smaller spacing */
    justify-content: flex-start;
    /* Aligns buttons to the left */
    margin-top: 20px;
}

.buttons a {
    display: inline-block;
    padding: 10px 20px;
    /* Reduced padding */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

*/

/* Contact Us Button (Solid) */
.buttons a:first-child {
    background-color: #D44B1F;
    color: white;
}

/* Learn More Button (Transparent with border) */
.buttons a:last-child {
    background-color: transparent;
    color: white;
    backdrop-filter: blur(0px);
}

/* Hover Effect (Blurred Background) */
.buttons a:last-child:hover {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
}


/* Mission & Vision Section */
 .mission-vision {
    padding: 50px 20px;
    text-align: center;

}

.mission-vision .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-vision h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #c94e1e;
}


.mission-vision-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.mission-vision .left-column {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
}

.mission-vision .right-column {
    flex: 1;
}

.mission-vision .right-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
} 








/* Apply Now Section */
.apply-now {
    background-color: #f7b25b;
    /* Light Orange */
    padding: 30px 20px;
    text-align: center;
}

.apply-now .container {
    max-width: 1200px;
    margin: 0 auto;
}

.apply-now-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.apply-now .left-column {
    flex: 1;
    text-align: left;
    font-size: 1.2rem;
}

.apply-now .right-column {
    flex: 1;
    text-align: right;
}

.apply-now .apply-button {
    padding: 15px 30px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.apply-now .apply-button:hover {
    background-color: #c94e1e;
}

.section-title {
    font-size: 48px;
    /* Increase the font size */
    font-weight: bold;
    color: #D44B1F;
    /* Match the orange color */
    text-align: center;
    /* Center the title */
    margin-bottom: 40px;
    /* Add spacing below */
    font-family: 'Arial', sans-serif;
}

/* Responsive Card Section */
.card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top : 20px;
    padding-bottom : 20px;
    /* Reduced padding for better responsiveness */
    box-sizing: border-box;
}


/* Card Styling */
.card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(3, 3, 3, 0.1);
    width: 30%;
    /* Adjusted for better responsiveness */
    min-width: 280px;
    text-align: center;
    padding: 20px;
}

/* Icon Styling */
.icon {
    font-size: 60px;
    color: #f57c00;
}

/* Title Styling */
.title {
    font-size: 24px;
    color: #f57c00;
    text-decoration: underline;
    margin: 10px 0;
}

/* Description Styling */
.description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Button Styling */
.more-info-btn {
    background-color: #f57c00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.more-info-btn:hover {
    background-color: #e64a19;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .card {
        width: 45%;
        /* Two cards per row on tablets */
    }
}

@media screen and (max-width: 768px) {
    .card-section {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        /* Full width on small screens */
    }
}



/* Full-width section */
.full-width-section {
    width: 100%;
    background-color: #f4f4f4;
    /* Optional background color */
    padding: 50px 0;
    text-align: center;
}

/* Centered container */
.container {
    width: 90%;
    /* Adjust width as needed */
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: black;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ✅ Responsive Design for Tablets & Mobiles */
@media (max-width: 1024px) {

    /* Tablet View */
    .mission-vision-content {
        flex-direction: column;
        text-align: center;
    }

    .mission-vision .left-column {
        text-align: center;
    }

    .mission-vision .right-column {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Mobile View */
    .mission-vision h2 {
        font-size: 2.5rem;
    }

    .mission-vision .left-column {
        font-size: 1rem;
        padding: 0 10px;
    }

    .mission-vision .right-column img {
        width: 100%;
    }
}

/* Media Queries */

/* Hero Section */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .hero .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero .buttons a {
        padding: 12px 25px;
    }
}

/* Mission & Vision Section */
@media (max-width: 768px) {
    .mission-vision-content {
        flex-direction: column;
        gap: 30px;
    }

    .mission-vision .left-column {
        font-size: 1rem;
    }

    .mission-vision .right-column {
        max-width: 100%;
    }

    .mission-vision h2 {
        font-size: 2.5rem;
    }
}

/* Apply Now Section */
@media (max-width: 768px) {
    .apply-now-content {
        flex-direction: column;
        gap: 20px;
    }

    .apply-now .left-column {
        font-size: 1rem;
    }

    .apply-now .right-column {
        max-width: 100%;
        text-align: center;
    }

    .apply-now .apply-button {
        font-size: 14px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {

    /* Hero Section */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero .buttons a {
        padding: 10px 20px;
    }

    /* Mission & Vision Section */
    .mission-vision h2 {
        font-size: 2rem;
    }

    .mission-vision .left-column {
        font-size: 0.9rem;
    }

    /* Apply Now Section */
    .apply-now .left-column {
        font-size: 0.9rem;
    }

    .apply-now .apply-button {
        font-size: 13px;
        padding: 12px 25px;
    }
}