* {
    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 {
    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: blue !important;
}

/* 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;
    }
}

.row {
    justify-content: center;
    align-items: center;
}

.feedback-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.feedback-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: #002240;
}

/* Feedback card styling */
.feedback-card {
    background-color: white;
    position: relative;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid #f2f2f2;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

/* Scraps of paper effect */
.feedback-card:before,
.feedback-card:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    background-color: white;
    box-shadow: 0 0 0 1px black;
}

.feedback-card:before {
    top: 0;
    left: -10px;
    transform: rotate(-3deg);
}

.feedback-card:after {
    bottom: 0;
    right: -10px;
    transform: rotate(3deg);
}

/* Scraps on corners */
.feedback-card .scrap {
    position: absolute;
    background-color: white;
    box-shadow: 0 0 0 1px #555;
    z-index: 1;
}

.scrap.top-left {
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    transform: rotate(-20deg);
}

.scrap.top-right {
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    transform: rotate(15deg);
}

.scrap.bottom-left {
    bottom: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    transform: rotate(10deg);
}

.scrap.bottom-right {
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    transform: rotate(-15deg);
}

/* Image style inside feedback card */
.feedback-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.feedback-card h4 {
    color: #002240;
    font-weight: bold;
    font-size: 1.2rem;
}

.feedback-card p {
    color: #555;
    font-size: 0.9rem;
    margin: 15px 0;
    font-style: italic;
}

.feedback-card .role {
    font-size: 0.8rem;
    color: #777;
}

/* Card hover effect */
.feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feedback-card {
        margin: 20px auto;
    }
}