/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body styling */
body {
    background-color: #faf6f6;
    color: #040000f2;
    line-height: 1.2;
}

/* Top Menu */
/* Logo in top menu */
.top-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #4b6cb7, #182848); /* Modern blue gradient */
    z-index: 4;
}


.top-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 8px 0;
    margin: 0;
}

.top-menu li {
    margin: 0 20px;
}

.top-menu a {
    color: rgb(197, 190, 234);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.top-menu .logo img {
    height: 140px; /* adjust as needed */
    object-fit: contain;
}

.top-menu a:hover {
    color: #FFD700;
}

/* Language buttons */
.language-buttons {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 4;
}

.language-buttons button {
    margin: 40px 0;
    padding: 10px 15px;
    border: none;
    background-color: rgba(0,123,255,0.8);
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.language-buttons button:hover {
    background-color: rgba(0,86,179,0.8);
}

/* Hero Section */
/* Hero section */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}
.hero img.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f3780c;
    text-align: center;
}
/* Hide other language divs by default */
#fr, #ar, #cn {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-text {
        max-width: 90%;
        padding: 15px 20px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .top-menu ul {
        flex-direction: column;
    }

    .top-menu li {
        margin: 10px 0;
    }

    .language-buttons {
        top: 140px;
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 0.8rem;
    }
}
/* Hide all menu text spans by default */
.menu-text {
    display: none;
}

/* Show only the active language via JS (inline display works) */
.menu-text.active {
    display: inline;
}

.business-divisions {
    padding: 130px 90px;
    text-align: center;
    background-color: #f1f1f1;
}

.business-divisions h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.division-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 120px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #050505;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .division-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}

.business-divisions {
    padding: 80px 40px;
    text-align: center;
    background-color: #f1f1f1;
}

.business-divisions h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.division-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .division-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}

.about-us {
    margin-top: 0;
    padding: 80px 20px;
    background: #f9f9f9; /* soft background for contrast */
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
    gap: 40px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c2c2c;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        flex: 1 1 100%;
    }

    .about-image {
        flex: 1 1 100%;
        margin-top: 25px;
    }
}

.our-values {
    padding: 90px 40px;
    background: #f9f9f9;
    text-align: center;
}

.our-values h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 25px 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.value-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .values-grid {
        flex-direction: column;
        align-items: center;
    }

    .value-card {
        width: 80%;
    }
}

.site-footer {
    background: #222222;
    color: #ddd;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

.site-footer .footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.site-footer .footer-links {
    margin: 15px 0;
}

.site-footer .footer-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.site-footer .footer-links a:hover {
    color: #FFD700;
}

.site-footer .footer-copy p {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
}

.contact-us {
    padding: 80px 20px;
    background: #f1f1f1;
    text-align: center;
}

.contact-us h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

.contact-info {
    flex: 1 1 400px;
    text-align: left;
    font-size: 1rem;
    color: #444;
}

.contact-info h3 {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #111;
}

.contact-form {
    flex: 1 1 400px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #007bff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: none; /* hidden until language is active */
}

.contact-form button:hover {
    background: #0056b3;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }
}
/* ============================= */
/* Scrollable Dropdown Menu Styles */
/* ============================= */

/* Ensure dropdown parent is relative for positioning */
/* Ensure dropdowns are above other elements */
.top-menu li.dropdown {
    position: relative;
    z-index: 10;
}

/* Hide dropdown by default */
.top-menu li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.8);
    min-width: 180px;
    top: 100%;
    left: 0;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto; /* makes it scrollable if too tall */
}

/* Show dropdown on hover (desktop) */
.top-menu li.dropdown:hover .dropdown-content {
    display: block;
}

/* Style links inside dropdown */
.top-menu li.dropdown .dropdown-content li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
}

.top-menu li.dropdown .dropdown-content li a:hover {
    background-color: #555;
}

/* Optional: enable click/tap for mobile */
.top-menu li.dropdown > a:after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 5px;
}

/* Make sure dropdown appears on small screens too */
@media screen and (max-width: 768px) {
    .top-menu li.dropdown .dropdown-content {
        position: relative;
    }
}

/* Language Dropdown in menu */
.language-dropdown {
    position: relative;
}

.language-dropdown > a {
    display: flex;
    align-items: center;
}

.language-dropdown .flag-icon {
    width: 25px;
    height: 18px;
    margin-left: 5px;
    border-radius: 3px;
}

/* Hide dropdown by default */
.language-dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* align dropdown to the right */
    background-color: rgba(0,0,0,0.8);
    min-width: 150px;
    border-radius: 6px;
    max-height: 180px;
    overflow-y: auto; /* scroll if too many */
    z-index: 20;
}

/* Show on hover (desktop) */
.language-dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown items styling */
.language-dropdown .dropdown-content li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.language-dropdown .dropdown-content li a:hover {
    background-color: #555;
}

/* Mobile click toggle */
@media screen and (max-width: 768px) {
    .language-dropdown .dropdown-content {
        position: relative;
    }
}


/* Footer Layout */
/* Footer Layout */
.site-footer {
  background: linear-gradient(135deg, #aca2a2, #2c2c2c);
  color: #ddd;
  padding: 50px 20px 25px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center; /* center content inside each column */
}

.footer-col {
  min-width: 200px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #FFD700;
}

/* Activities List */
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #FFD700;
}

/* Social Media */
.footer-social a {
  color: #ddd;
  font-size: 1.4rem;
  margin-right: 15px;
  transition: color 0.3s, transform 0.3s;
}
.footer-social a:hover {
  color: #FFD700;
  transform: scale(1.2);
}

/* App Download */
.footer-apps img {
  height: 50px;
  margin-right: 12px;
  transition: transform 0.3s;
}
.footer-apps img:hover {
  transform: scale(1.05);
}

/* Bottom Copy */
.footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 1.3rem;
}
.social-icons a {
  color: #ddd;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #FFD700;
}

