* {
    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 !important;   
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px;
}
nav div div .navbar-nav .nav-link:hover{
    color: blue !important;   
}

#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;
    justify-content: flex-end;
}

.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 !important; /* Change color to blue on hover */
    box-sizing: border-box;
    background-color: #f4f4f4 !important;
    border: solid #f4f4f4 5px !important;
    border-radius: 10px;
}

.dropdown-menu {
    background-color: var(--dark-color); /* Optional: same background color for dropdown */
}

.dropdown-item {
    color: #eee;
}

.navbar-toggler {
    border-color: #f4f4f4 !important;
}

.navbar-toggler-icon {
    background-color: #f4f4f4 !important;
}

.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;
    }
}


.webcre {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eee;
}
.hero-section {
    background: url('https://i.postimg.cc/KjnvMmkk/webteam.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-size: 3em;
    animation: fadeInUp 1.5s ease-out;
}
.hero-section p {
    font-size: 1.2em;
    animation: fadeInUp 2s ease-out;
}
.hero-section .btn-primary {
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 50px;
    background: #007bff;
    border: none;
    transition: background 0.3s ease;
}
.hero-section .btn-primary:hover {
    background: #0056b3;
}
.card-body .fa-instagram:hover {
    color: #E4405F;
}
.webcom .card-body .card-text {
    color: var(--dark-color) ;
    font-weight: 800;
}
.team-card {
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: solid var(--dark-color) 5px;
    border-radius: 15px;
    overflow: hidden;
}
.card-title {
    font-weight: bold;
}
.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.team-card img {
    border-radius: 15px 15px 0 0;
    transition: opacity 0.3s;
}
.member img {
    height: 300px;
}
.team-card img:hover {
    opacity: 0.8;
}
.team-icons a {
    color: #333;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s;
}
.team-icons a:hover {
    color: #007bff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.block {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
}
.block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    z-index: 1;
    border-radius: 15px;
}
.block:hover::before {
    background: transparent;
}
.block h5 {
    font-size: 1.5em;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.block p {
    font-size: 1em;
    position: relative;
    z-index: 2;
}
.pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 35px;
}
@media (min-width: 768px) {
    .pages .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 960px) {
    .pages .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.home { background-color: #940a0a; }
.events { background-color: #1e6d1e; }
.committees { background-color: #35356a; }
.website-creators { background-color: #805428; }
.team-board { background-color: #0b0b9c; }
.feedbacks { background-color: #b40d7d; }
.about-contact { background-color: #20ca20; }
.block:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.block:hover::before {
    background: inherit;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.tt .row {
    row-gap: 45px;
    column-gap: 30px;
    justify-content: center;
}
.team {
    column-gap: 30px;
    justify-content: center;
}
.webcre h2 {
    margin-bottom: 40px !important;
    text-transform: uppercase;
    font-weight: 900;
}
.webcre {
    padding-bottom: 20px;
}