* {
    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;
}

.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 {
    box-sizing: border-box;
    background-color: var(--dark-color); /* Optional: same background color for dropdown */
    border: solid #fff 2px;
}

.dropdown-item {
    color: #fff;
}

.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: red !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;
    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;
    }
}

/* About & Contact Page Specific CSS */
.about-contact {
    padding: 80px 0;
    background-color: #f4f4f4;
}

.about-section, .contact-section {
    margin-bottom: 40px;
}

.about-section h2, .contact-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark-color);
    text-align: center;
    width: fit-content;
    margin: auto;
    margin-bottom: 40px;
    position: relative;
}

.about-section h2::after, .contact-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--main-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-section p, .contact-section p {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.about-team {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
}

.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.team-member p {
    font-size: 16px;
    color: #777;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--main-color);
}

.bttn {
    width: fit-content;
    margin: auto;
    transform: scale(1.2);
}

button {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--header-color);
}

.contact-info-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-info-box i {
    font-size: 36px;
    color: var(--main-color);
    margin-bottom: 10px;
}

.contact-info-box p {
    font-size: 18px;
    color: #555;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .about-team {
        flex-direction: column;
        align-items: center;
    }
    .about-section h3 {
        width: fit-content;
        margin: auto;
        margin-top: 10px;
    }
    .about-section div div {
        text-align: center;
    }
    .about-section div div p {
        text-align: center;
    }
}
nav div div .navbar-nav .dropdown-toggle:focus{
    color: blue !important;   
}
.about-contact h2 {
    text-transform: uppercase;
}
.about-contact h3 {
    text-transform: uppercase;
    font-weight: 900;
}

.img-fluid {
    border: solid transparent 3px;
    box-sizing: border-box;
    border-radius: 10px;
}