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

html,body{
    height: 100%;
}

body {
    font-family: "Cairo", sans-serif;
    direction: ltr;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

a,p,h1,h2,h3,h4,h5,h6,button,label {
    font-family: "Cairo", sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* overflow: hidden; */
}

main{
    flex: 1 0 auto;
}

.media-center h2, .events h2, .e-services h2 {
  color: #35576d;
  margin-bottom: 15px;
}
.sector-committees h2{
    color: #fff;
}

.media-center p, .events p,.sector-committees p, .e-services p {
  color: #aa9146;
  margin-bottom: 15px;
}


header {
    background: #fff;
}

.top-header {
    background-color: #d4af37;
    color: white;
    padding: 10px 0;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.btn-e-services a{
    color: #fff;
    text-decoration: none;
}
.main-nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style-type: none;
}

.main-menu > li {
    position: relative;
    margin-right: 20px;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
}

.main-menu li a:hover{
    color: #aa9146;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 300px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
    list-style-type: none;
}
.dropdown-menu li:hover{
    background-color: #35576d;
    
}
.dropdown-menu li:hover > a{
    color: #fff;
}

.dropdown-menu a {
    padding: 10px 15px;
    font-weight: normal;
}

.main-menu > li:hover .dropdown-menu {
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

/* Slider Styles */
.slider {
    position: relative;
    height: 780px;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.slider-content h2 {
    font-size: 70px;
}

.slider h2 span {
    font-size: 50px;
    font-weight: initial;
    color: #35576d;
}

.slider h3 {
    font-size: 40px;
    font-weight: inherit;
}

.slider button {
    background: #35576d;
    border: none;
    padding: 8px;
    width: 200px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: lighter;
    color: #fff;
    margin: 30px;
}

/* Media Center Styles */
.media-center {
    text-align: center;
    padding: 40px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.tab-btn.active {
    border-bottom: 2px solid #0056b3;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    justify-content: space-between;
}

.committee-item {
    width: 49%;
    background: #f9f9f9;
    padding: 0px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.news-item,.circulars-item, .event-item {
    width: 100%;
    background: #f9f9f9;
    padding: 0px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.committee-item img{
  max-width: 100%; 
  height: auto; 
  border-radius: 5px;
}

.committee-item h3 {
  margin: 15px;
}

.committee-item a {
    color: #35576d;
    text-decoration: none;
  }

.event-item img {
    float: left;
  max-width: 20%; 
  height: auto; 
  border-radius: 5px;
}


/* Events and Committees Styles */
.events, .sector-committees, .e-services {
    padding: 40px 0;
    text-align: center;
}

.events {
  background-color: #eee;
}

.sector-committees{
    background-color: #35576d;
}

.event-list, .committee-list, .service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
  }

.service-item {
    width: 45%;
    margin-bottom: 20px;
    text-align: center;
}

.service-item img {
  /*float: left;*/
  max-width: 60%; 
  height: 200px; 
  border-radius: 5px;
}

.service-item a{
    text-decoration: none;
}



/* Transition for tab content */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
}



/**

    Reports page Style

**/
.header {
    background-color: #036;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.header h2 {
    font-weight: lighter;
}

.section-title {
    color: #0f4c81;
    margin: 20px 0;
    position: relative;
    padding-right: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 10px solid #c5a45b;
}

.reports-list {
    background-color: #f5f5f5;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ececec;
    border-radius: 10px;
    margin: 20px;
}

.report-item:nth-child(even) {
    background-color: #ffffff;
}

.report-name {
    flex-grow: 1;
}

.report-actions {
    display: flex;
    gap: 10px;
}

.btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-view {
    background-color: #0f4c81;
}

.btn-download {
    background-color: #c5a45b;
}

.icon-eye,
.icon-download {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-eye {
    background-image: url('path-to-eye-icon.svg');
}

.icon-download {
    background-image: url('path-to-download-icon.svg');
}


.fixed-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon-item {
    width: 50px;
    height: 50px;
    background-color: #104c9e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.icon-item i {
    font-size: 20px;
}

.icon-item:hover {
    background-color: #aa9146;
    transform: scale(1.1);
}

.icon-item::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.icon-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.fixed-social-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon-item {
    width: 40px;
    height: 40px;
    background-color: #104c9e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon-item i {
    font-size: 18px;
}

.social-icon-item:hover {
    background-color: #aa9146;
    transform: scale(1.1);
}

.social-icon-item::after {
    content: attr(title);
    position: absolute;
    left: 50px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-icon-item:hover::after {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }

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

    .main-menu {
        flex-direction: column;
        align-items: center;
    }

    .main-menu > li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .main-menu a {
        color: white;
        font-size: 1.2em;
    }

 
.main-menu > li {
    position: relative;
    margin-right: 20px;
}

.main-menu > li:hover .dropdown-menu {
    display: block;
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 15px;
    font-weight: normal;
}


    .dropdown-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        display: none;
        width: 100%;
    }

    .dropdown-menu a {
        color: #ccc;
    }

    .main-menu > li:hover .dropdown-menu {
        display: none;
    }

    .main-menu > li.active .dropdown-menu {
        display: block;
    }

    .tab-content.active, .event-list, .committee-list, .service-list {
        flex-direction: column;
    }

    .news-item, .circulars-item, .event-item, .committee-item, .service-item {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }

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

    .main-menu {
        flex-direction: column;
        align-items: center;
    }

    .main-menu > li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .main-menu a {
        color: white;
        font-size: 1.2em;
    }

    .dropdown-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        display: none;
        width: 100%;
    }

    .dropdown-menu a {
        color: #ccc;
    }

    .main-menu > li.active .dropdown-menu {
        display: block;
    }
}



/* Add the existing CSS from the provided main.css file */

/* Additional styles for the media center page */
.media-center {
    padding: 40px 0;
}

.media-center h2 {
    color: #35576d;
    margin-bottom: 10px;
}

.media-center p {
    color: #aa9146;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tab-btn.active {
    color: #35576d;
    border-bottom: 2px solid #35576d;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-item, .circulars-item {
    /*width: 30%;*/
  background: #f9f9f9;
  padding: 0px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-align: right;
}

.news-item a, .circulars-item a{
    text-decoration: none;
}

.news-item img, .circulars-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.news-item h3, .circulars-item h3 {
    color: #35576d;
    margin-bottom: 10px;
    margin-right: 20px;
}

.news-item p, .circulars-item p {
    color: #666;
    margin-bottom: 10px;
    margin-right: 20px;
}

.item-actions {
    display: flex;
    justify-content: space-between;
}

.download-btn, .view-btn {
    padding: 5px 10px;
    background-color: #35576d;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #35576d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.google-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}




@media (max-width: 768px) {
    .news-item, .circulars-item {
        width: 100%;
    }
}
