/*
Navbar Typography Reference (Arabic and English)

Primary desktop navbar (top bar in <header>)
- Links: .header-nav .menu ul li a
  - font-family: inherits body => "font_medium" (GE SS Two Medium)
    • Body family defined in general.css: body { font-family: "font_medium"; }
  - font-size: 16px (explicit in header.css)
  - Weight/style: from "font_medium" face
  - Hover/active: color changes only; no font-size/family changes

- Buttons next to links: .header-nav .menu-icon .lang, .header-nav .menu-icon .meetings
  - font-family: inherits body => "font_medium" (GE SS Two Medium)
  - font-size: 16px (explicit in header.css)

- Hamburger trigger: .show-menu
  - font-size: 20px (icons only; typography size noted for completeness)

Mobile/off-canvas responsive menu (side panel)
- Main responsive menu container: .menu_responsive (typography inherits unless stated)
- Link items (large): .element_menu_responsive > ul > li > a (in general.css)
  - font-family: "font_main" (GE SS Two Light)
  - font-size: 20px
- Search quick links text (small): .responsive-menu .search-links a p
  - font-size: 12px
- Search icons: .responsive-menu .search-links svg
  - font-size: 17px (icon glyph size)
- Language button inside responsive menu: .responsive-menu .menu-icon .lang
  - Inherits same 16px sizing behavior from header buttons unless overridden (none found)

Language behavior
- Arabic/English share the same navbar type scale and families.
- Right-to-left is enabled via ar.css (body { direction: rtl; text-align: right; }) but does not change font-family/size.

Global defaults affecting navbar
- Anchors default: a { font-size: 17px; } in general.css, but desktop navbar links override to 16px in header.css.
- Body family: body { font-family: "font_medium"; } ensures desktop navbar inherits GE SS Two Medium by default.

Font-face mappings (declared in site/css/general.css)
- "font_main"   => GE SS Two Light (via ../fonts/GE SS Two Light.otf)
- "font_medium" => GE SS Two Medium (via ../fonts/GE SS Two Medium.otf)
- "font_bold"   => GE SS Two Bold (for headings in other sections)
- "poppins-medium" / "poppins-bold" => Poppins faces used in counters/labels, not navbar links
- "semiBold" => Cairo SemiBold (not used by navbar)

Selector locations (for quick lookup)
- Desktop links size: header.css → .header-nav .menu ul li a { font-size: 16px; }
- Desktop buttons size: header.css → .header-nav .menu-icon ... { font-size: 16px; }
- Off-canvas big links: general.css → .element_menu_responsive > ul > li > a { font-size: 20px; font-family: "font_main"; }
- Off-canvas search text: header.css → .responsive-menu .search-links a p { font-size: 12px; }
- Off-canvas search icon: header.css → .responsive-menu .search-links svg { font-size: 17px; }
- Global body family: general.css → body { font-family: "font_medium"; }
- Global anchor default: general.css → a { font-size: 17px; }
*/
/* hero */
header {
    min-height : 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.pages-header {
    min-height: fit-content;
}
header.pages-header::after {
    content: "";
    display: none;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #fff 0%,
        rgba(141, 23, 57, 0.2) 100%
    );
    background-size: cover;
    z-index: 1;
}
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    z-index: 8;
    position: relative;
}
.header-nav a {
    color: var(--color-Primary1);
    transition: all 0.3s ease;
}
.header-nav a:hover {
    color: #fff;
}

.header-nav .menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background-color: var(--color-Primary2);
    padding: 20px 10px;
    border-radius: 50px;
}

.header-nav .menu ul li a {
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 16px;
}
.header-nav .menu ul li a:hover {
    background-color: var(--color-Primary1);
    color: var(--color-white);
    border-bottom: 1px solid #fff;
}
.header-nav .menu ul li a.active {
    background-color: var(--color-Primary1);
    color: var(--color-white);
    border-bottom: 1px solid #fff;
}

.header-nav .menu-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.header-nav .menu-icon .lang,
.header-nav .menu-icon .meetings,
.responsive-menu .menu-icon .lang {
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-Primary1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 16px;
}

.header-nav .menu-icon .meetings {
    background-color: var(--color-Primary1);
    color: var(--color-white);
}

.header-nav .menu-icon .meetings:hover {
    background-color: transparent;
    color: var(--color-Primary1);
}

.header-nav .menu-icon .lang p,
.responsive-menu .menu-icon .lang p {
    color: var(--color-Primary1);
}

.header-nav .menu-icon .lang:hover {
    background-color: var(--color-Primary1);
    color: var(--color-white);
}

.header-nav .menu-icon .lang:hover p {
    color: var(--color-white);
}

.header-nav .menu-icon .lang:hover svg path {
    stroke: var(--color-white);
}

/* Force language buttons text color in navbar */
.header-nav .menu-icon .lang .lang-switch {
    color: #8C1B3D !important;
}
.header-nav .menu-icon .lang .lang-switch:hover {
    background-color: #8C1B3D;
    color: #fff !important;
    border-color: #8C1B3D;
}

header .main-container{
        min-height: inherit;
    display: flex
;
    flex-direction: column;
    padding-bottom: 30px;
}


.hero-content {
    z-index: 8;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    flex: 1;
}
.hero-content .flags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
/* .hero-content .flags svg {
    animation: wave 2s infinite ease-in-out;
    transform-origin: left center;
} */

.hero-content .flags img {
    width: 500px;
    /* height: 86px; */
}
/* @keyframes wave {
    0% { transform: rotateZ(0deg) skewY(0deg); }
    25% { transform: rotateZ(1deg) skewY(1deg); }
    50% { transform: rotateZ(0deg) skewY(0deg); }
    75% { transform: rotateZ(-1deg) skewY(-1deg); }
    100% { transform: rotateZ(0deg) skewY(0deg); }
  } */

.hero-content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    position: relative;
    z-index: 8;
}

.hero-content-text .hero-content-text-desc {
    height: fit-content;
    border-radius: 10px;
    background-color: var(--color-Primary1);
    color: var(--color-white);
    font-family: "font_medium";
    font-size: 24px;
    text-align: center;
    align-content: center;
    display: inline-block;
    border: 1px solid transparent;
    padding: 10px;
    width: fit-content;

}

.hero-content-text h2,
.hero-content-text p {
    font-size: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-content-text a {
    padding: 10px 30px;
}

.hero-content-text .country span {
    position: relative;
    padding: 20px 15px;
    line-height: 1;
}
.hero-content-text .country span:first-of-type::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-Primary1);
    z-index: -1;
    border-radius: 45px 8px 45px 8px;
}

.hero-content-text .country span:last-of-type::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-Primary1);
    z-index: -1;
    border-radius: 8px 45px 8px 45px;
}

.hero-content-text .ctm-btn1:hover {
    color: var(--color-white);
}
.show-menu {
    border: 1px solid var(--gray);
    color: var(--gray);
    width: 40px;
    height: 30px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.4s;
    cursor: pointer;
    display: none;
    background-color: var(--color-Primary1);
}

.show-menu:hover {
    color: var(--primary1);
    border: 1px solid var(--primary1);
}

/* .hero-content .flags img:nth-child(1){
    transform: rotate3d(1, 1, 1, -30deg);
} */

/*.hero-content .flags img:nth-child(2) {*/
/*    transform: scaleX(-1);*/
/*}*/

/* responsive */

.responsive-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: #fff;
    padding: 10px;
    bottom: 0;
    width: 300px;
    transition: 0.4s;
    z-index: 10;
    background-image: url("../images/hero\ section.png");
    background-size: cover;
    background-position: center;
}

.responsive-menu.show {
    right: 0;
}

.responsive-menu .search-input {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    display: block;
}

.responsive-menu .search-input button {
    height: 35px;
    width: 35px;
}

.responsive-menu .search-input button svg {
    width: 25px;
}

.responsive-menu .search-links a p {
    font-size: 12px;
    color: #fff;
}

.responsive-menu .search-links {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.responsive-menu .search-links svg {
    color: #fff;
    transition: 0.4s;
    font-size: 17px;
    width: 17px;
}

.responsive-menu .search-links svg path {
    stroke: #fff;
}

.responsive-menu .links-container {
    width: 100%;
    text-align: center;
}

.responsive-menu .links-container .header-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--black);
    position: relative;
    transition: 0.4s;
    cursor: pointer;
    height: 40px;
    color: #fff;
}

.responsive-menu .links-container .header-link:hover .ctm-menu-custom {
    display: block;
}

.responsive-menu .links-container .header-link .ctm-menu-custom {
    z-index: 9;
}

.overlay {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #d1d1d178;
    transition: 0.4s;
    left: -100%;
    z-index: 9;
}

.overlay.show {
    left: 0;
}

.responsive-menu .search-input input {
    background-color: #fff;
}
.sub-header {
    height: auto;
}

.element_menu_responsive .main-menu .about-company .dropdown {
    width: 100%;
}

.element_menu_responsive .main-menu .about-company.language {
    z-index: 1;
}

.element_menu_responsive .main-menu .about-company .dropdown-menu {
    inset: 0px auto auto 50% !important;
    transform: translate3d(-50%, 52px, 0px) !important;
}

.element_menu_responsive .main-menu .about-company .dropdown-menu li {
    width: 100%;
}

.element_menu_responsive .main-menu .about-company .dropdown-toggle {
    background-color: var(--primary1);
    border-radius: 0;
    color: white;
    border: none;
    outline: none;
    width: 100%;
    height: 50px;
}
.element_menu_responsive .main-menu .about-company li a {
    color: var(--primary1);
    text-align: center;
}
.logo,
.footer-logo{
    width: 140px;
    height: 60px;
}
.logo img,
.footer-logo img{
    width: 100%;
    height: 100%;
}
