* {
    box-sizing: border-box;
}

:root {
    --ieee-color: linear-gradient(to right, #120f2d , #003365, #120f2d);
    --dark-color: #120F2D;
    --text-color: #f4f4f4;
    --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;
}

a{
    text-decoration: none;
}

.Home-Page {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background-color: #f4f4f4;
}

.heaederBar {
    background-color: var(--dark-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;
}
.slogan:hover,
.phone:hover,
.email:hover
{
    color: blue;
}
.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: blue;   
}

.TT:hover{
    color: blue;   
}


/* 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-color: var(--dark-color);
    color: #f4f4f4;
    padding: 20px;
    display:flex;
    flex-direction: column;
}

.AS{
    text-align: center;
    font-weight: 900;
    font-size:250%; 
}

.AS:hover{
    color: blue;
}

.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;
    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: blue; /* 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); /* Optional: same background color for dropdown */
}

.dropdown-item {
    color: red;
}

.navbar-toggler {
    border-color: #f4f4f4;
}

.navbar-toggler-icon {
    background-color: #f4f4f4;
}

.dropdown-item:hover {
    color: blue; /* 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: blue !important; /* Force the color to red when active */
}

footer ul {
    list-style: none;
}

footer {
    padding: 40px 0;
    background-color: #12103c;
    font-family: Arial, sans-serif;
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.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;
}

.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;
    }
}



body {
    background-color: #f6f6f6 !important;
}
.board {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.section-title {
    width: 98%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px #00000033;
    transition: color 0.3s, transform 0.3s;
}

.section-title:hover {
    transform: scale(1.1);
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 300px;
    margin: 15px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 8px #0000001a;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px #00000033;
}

.card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-body h5 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
    color: #343a40;
    transition: color 0.3s;
}

.card:hover .card-body h5 {
    color: #007bff; /* Change color on card hover */
}

.card-body p {
    color: #6c757d;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    color: initial;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links a.fb:hover {
    color: #4267B2; /* Facebook color */
}

.social-links a.instagram:hover {
    color: #E4405F; /* Instagram color */
}

.social-links a.linkedin:hover {
    color: #0077B5; /* LinkedIn color */
}

.section-chairman {
    background-color: #ffcccc; /* Light Red */
    color: #cc0000;
}

.section-officers {
    background-color: #ccffcc; /* Light Green */
    color: #009900;
}

.section-technical {
    background-color: #ccccff; /* Light Blue */
    color: #0000cc;
}

.section-non-technical {
    background-color: #ffffcc; /* Light Yellow */
    color: #cccc00;
}

.section-title.chairman {
    color: #cc0000;
}

.section-title.officers {
    color: #009900;
}

.section-title.technical {
    color: #0000cc;
}

.section-title.non-technical {
    color: #cccc00;
}

@media (min-width: 768px) {
    .card {
        width: calc(50% - 30px); /* 2 cards per row on medium screens */
    }
}

@media (min-width: 992px) {
    .card {
        width: calc(25% - 30px); /* 4 cards per row on large screens */
    }
}
