* {
    box-sizing: border-box;
}

:root {
    --dark-color: #120F2D;
    --text-color: #f4f4f4;
    --ieee-color: linear-gradient(to right, #120f2d , #003365, #120f2d);
    --main-color: #002240;
    --header-color: #002240;
    --footer-color: #12103c ;
    --blocks-margin: 100px;
    --len: 6%;
    --len2: 3%;
}
.custom-background {
    background-color: var(--dark-color);
}

.custom-text {
    color: var(--text-color);
}

.custom-border {
    border-color: var(--dark-color);
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: var(--footer-color) !important;
    background: var(--ieee-color);
}

body {
    height: 1200px;
}

a{
    text-decoration: none;
}

.Home-Page {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f4f4f4;
    /* background: var(--ieee-color); */
}

.heaederBar {
    background: var(--ieee-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    color: var(--text-color);
    padding: 10px;
}

.logo-container, .contact-info, .social-links {
    flex: 1;
    min-width: 150px;
    text-align: center;
}
.contact-info{
    font-weight: 900;
}
.logo {
    max-width: 140px;
    height: auto;
}

.slogan{
    font-weight: 900;
}

.icon {
    width: var(--len);
    margin: 0 5px;
}

.face{
    width: var(--len2);
}

nav div div .navbar-nav .nav-link{
    color: #f4f4f4;   
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px;
}
nav div div .navbar-nav .nav-link:hover{
    color: blue;   
}

#HH{
    color: #f4f4f4;   
}
#HH:hover{
    color: #003365;   
}

.TT:hover{
    color: #003365;   
}


/* Hamburger menu for small screens */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #f4f4f4;
    margin: 4px 0;
    transition: 0.4s;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.someAbout {
    background: var(--ieee-color);
    color: #f4f4f4;
    padding: 20px;
    display:flex;
    flex-direction: column;
}

.AS{
    text-align: center;
    font-weight: 900;
    font-size:250%; 
}

.AS:hover{
    color: #003365;
}

.helperAbout {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    /* align-items: center; */
    padding: 20px;
}

.helperAbout div {
    width: 48%;
}

.imageToThink {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgBlock {
    width: fit-content;
}

.imgBlock img {
    display: block;
    margin: auto;
}

.imgAbout {
    max-width: 70%;
    height: fit-content;
}

.textTosampleAbout {
    max-width: 600px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}

.custom-background {
    background-color: var(--dark-color); /* Your navbar background color */
}

.navbar .container-fluid {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-nav {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-item {
    margin: 0 10px; /* Adjust spacing between items */
}

.nav-link {
    color: #f4f4f4;
    font-weight: bold;
}

.nav-link:hover {
    transition: all 0.1s ease;
    color: #003365; /* Change color to blue on hover */
    box-sizing: border-box;
    background-color: #f4f4f4;
    border: solid #f4f4f4 5px;
    border-radius: 10px;
}

.dropdown-menu {
    background-color: var(--dark-color) !important; /* Optional: same background color for dropdown */
}

.dropdown-item {
    color: #f6f6f6 !important;
}

.navbar-toggler {
    border-color: #f4f4f4;
}

.navbar-toggler-icon {
    background-color: #f4f4f4;
}

.dropdown-item:hover {
    color: #003365 !important; /* Change color to blue on hover */
}

/* Responsive Styles */

@media (max-width: 768px) {
    .heaederBar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger {
        display: flex;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navLinks.show {
        display: flex;
    }
    .helperAbout{
        flex-direction: column;
        align-items: center;
    }
    .helperAbout div {
        width: 100%;
    }
}

.dropdown-toggle.active {
    color: #003365 !important; /* Force the color to red when active */
    background-color: #f6f6f6;
    border: solid transparent 2px;
    border-radius: 5px;
}

.ourteam-box {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    background: #f6f6f6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--blocks-margin) auto;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: max-content;
}

.image-block {
    flex: 1;
    padding: 20px;
    text-align: center;
    min-height: fit-content;
    max-height: 300px;
    width: fit-content;
    background-color: #fff;
    box-sizing: border-box;
    border: solid var(--main-color) 5px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-block img {
    display: block;
    width: 100%;
    height: min-content;
    max-width: fit-content;
    border-radius: 5px;
}

.accordion {
    flex: 1;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 2px 5px #0000001a;
    padding: 20px;
    margin: 10px;
    box-shadow: 0px 0px 5px var(--main-color);
}

.ourteam-box h2 {
    color: #142c57;
    text-align: left;
    text-transform: uppercase;
    font-weight: 900 !important;
}

.ourteam-box .accordion-item {
    margin-bottom: 10px;
}

.ourteam-box .accordion-header {
    width: 100%;
    padding: 15px;
    text-align: left;
    background-color: #f4f4f4;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900 !important ;
}

.ourteam-box .accordion-header::after {
    content: '\25BC';
    font-size: 12px;
}

.ourteam-box .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    margin-top: 5px;
}

.ourteam-box .accordion-content p {
    margin: 10px 0;
}

.ourteam-box .accordion-header.active::after {
    content: '\25B2';
    font-size: 12px;
}

.ourteam-box .accordion-header.active {
    border-color: var(--main-color);
    color: #f4f4f4;
    background-color: var(--main-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .ourteam-box .container {
        flex-direction: column;
    }

    .ourteam-box .image-block, .accordion {
        flex: unset;
    }
}

.page2 {
    width: 100% ;
    overflow: hidden ;
    border: none ; 
    height: 150vh;
}

@media screen and ( min-width: 784px ) and ( max-width: 1200px ) {
    .page2 {
        width: 100% ;
        overflow: hidden ;
        border: none ; 
        height: 95% !important;
    }
}

@media screen and ( max-width: 784px ) {
    .page2 {
        width: 100% ;
        overflow: hidden ;
        border: none ; 
        height: 130% !important;
    }
}

:root {
    --footer-color: #12103c ;
}

footer {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--ieee-color) !important; /* Match the background color */
    color: #fff;
}

footer ul {
    list-style: none;
}

footer {
    padding: 40px 0;
    background-color: #12103c;
}

footer .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.footer-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

footer .fa {
    padding-right: 10px;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-column a:hover {
    color: #00c8ff;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: space-evenly;
}

.social-icons a {
    display: block;
}

.social-icons a i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #ddd;
    font-size: 20px;
    padding: 0;
    border: solid #fff 3px;
    border-radius: 50%;
    transition: background-color border-color color 1s ease-in-out;
}

.social-icons a i:hover {
    background-color: #fff;
    border-color: #444;
    color: #12103c;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 15px;
    color: #999;
}

.footer-bottom p a {
    display: block;
    text-decoration: none;
    color: #999;
    font-size: 15px;
    font-weight: 900;
    transition: transform 0.5s ease-in-out;
}

.cpy a{
    display: inline-block !important;
}

.footer-bottom p a:hover {
    transform: scale(1.05);
}

.center {
    width: fit-content;
    margin: auto;
    margin-top: 0;
}

.center h2 {
    font-size: 25px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .first-con {
        order: 2;
    }

    .first-con .social-icons {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}
