/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
body{
    background: linear-gradient(to top,#b6bcb6,#fff);
}
* {
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #959393 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease-in-out;
    padding: 10px 30px;
}


.navbar .navbar-brand {
    display: flex;
    align-items: center;
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
}

.navbar .navbar-brand span {
    margin-right: 10px;
}

.navbar .navbar-brand img {
    max-height: 40px;
}

/* Navbar links */
.navbar-nav .nav-item {
    position: relative;
}
.navbar-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px; /* this sets the space between each nav-item */
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 360;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    background-color: #444343;
    border-radius: 2px;
    color: #fff !important;
}
.navbar .fa{
    margin-right: 5px;
}

.navbar {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Dropdown Menu Styling (Sub Nav) */
.sub-nav-1 {
    display: none;
}
.mobile-only {
    display: none;
}
 

.navbar-nav .nav-item:hover .sub-nav-1 {
    display: block;
    position: absolute;
    background: #444343;
    margin-top: 2px;
    margin-left: -15px;
}
.navbar-nav .nav-item:hover .sub-nav-1 ul{
    display: block;
    margin: 10px;
}
/*.sub-nav-1 ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}*/

.navbar-nav .nav-item:hover .sub-nav-1 ul li {
   width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #797979;
    background: transparent;
    border-radius: 0;
    text-align: left;
}

.navbar-nav .nav-item:hover .sub-nav-1 ul li:last-child {
    border-bottom: none;
}

.sub-nav-1 ul li a {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: 0.3s ease;
}

/*.sub-nav-1 ul li a:hover {
    color: #23d7ef;
}*/

/* Toggler icon (hamburger) */
.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230420ad' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive Behavior */
@media (max-width: 991px) {
    .navbar {
        background: #959393 !important; /* slightly transparent */
        position: relative; /* overlays on hero */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001; /* must be above hero image */
    }
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .navbar-brand {
        display: flex;
        align-items: center;
        gap: 2px;
        font-size: 24px;
        color: #ffffff;
    }

     .navbar .navbar-brand img {
        max-height: 20px;
        width: 90px;
    }
    .navbar-toggler {
        border: none;
        background: transparent;
    }
    .navbar-collapse {
        background-color: #959393;
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }

    .navbar-nav .nav-item {
        position: relative;
    }

    .navbar-nav .nav-link {
        padding: 10px;
        color: #fff !important;
    }

    .sub-nav-1 {
        display: none;
    }
    .navbar-nav .nav-item:hover .sub-nav-1 {
        display: block;
        position: relative; /* changed from absolute */
        background: #959393;
        margin-top: 10px;
        padding: 10px;
        border-radius: 2px;
        width: 100%; /* full width in mobile */
        z-index: 1;
    }
    .navbar-nav .nav-item:hover .sub-nav-1 ul{
    display: block;
    margin: 10px;
}
    .mobile-only {
    display: inline-block;
}
     .navbar-nav .submenu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 11px;
    margin-left: 5px;
    cursor: pointer;
}

.navbar-nav .sub-nav-1 {
    display: none;
}

.navbar-nav .nav-item.open .sub-nav-1 {
    display: block;
}

    .sub-nav-1 ul li {
    padding: 5px 0 5px 15px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.sub-nav-1 ul li:last-child {
    border-bottom: none;
}

    .sub-nav-1 ul li a {
        color: #fff;
        text-decoration: none;
    }
    .hero {
        padding-top: 100px !important; /* make room for navbar */
    }
}

/*******************************/
/********** fa CSS **********/
/*******************************/

.team-area {
    padding: 50px 0;
    /*background: #f8f9fa; /* Light background for contrast */
    text-align: center;
    margin-top: 90px;
}

.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 45px;
    font-weight: 550;
    margin-bottom: 30px;
    color: #050505;
}

h2::before{
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    background-color: #0420ad;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}

@keyframes animate{
    0%{
        width: 100px;
    }
    50%{
        width: 200px;
    }
    100%{
        width: 100px;
    }
}

.image {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between team members */
    flex-wrap: wrap;
}

.single-team {
    background: #fff; /* dark card background */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    /*padding: 20px;*/
    overflow: hidden;
    position: relative;
    width: 350px;
    transition: transform 0.3s ease;
}
.single-team:hover {
    transform: translateY(-10px); /* hover lift effect */
}

.single-team img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%; /* circular image */
    margin-bottom: 15px;
    border: 3px solid #dcdcdc; /* optional: nice border */
}


/*.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 0;
    text-align: center;
    transition: 0.3s ease-in-out;
    opacity: 0;
}

/*.single-team:hover .team-overlay {
    opacity: 1;
}
*/
.team-overlay h3 {
    font-size: 20px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.team-overlay h4 {
    font-size: 16px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    word-break: break-all; /* to avoid email breaking badly */
    margin-top: 5px;
}

.team-overlay p{
    font-family: 'Poppins', sans-serif;
    color: #000;
}

.team-social {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social li {
    display: inline-block;
}

.team-social li a {
    font-size: 20px;
    color: #23d7ef;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.team-social li a:hover {
    color: #ffffff;
}


/*******************************/
/********** footer CSS **********/
/*******************************/

/* Footer Styling */

.footer-line {
    width: 100%;
    height: 2px;
    background-color: #000; /* Adjust color */
    margin-bottom: 10px; /* Space between line and footer */
}

.footer {
    /*background: #1877d6;*/
    padding: 30px 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 85%;
    margin: auto;
}

/* Flexbox Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
}

/* Heading Styles */
.footer-section h3 {
    font-size: 22px;
    font-weight: bold;
    color: #070707;
    margin-bottom: 15px;
}

/* Text Styles */
.footer-section p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #000;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #000000;
}

/* Subscription Box */
.subscription {
    display: flex;
    align-items: center;
    background: #2b2e4a;
    border-radius: 25px;
    padding: 5px;
    width: fit-content;
}

.subscription input {
    border: none;
    background: transparent;
    color: white;
    padding: 10px;
    outline: none;
    width: 200px;
}

.subscription button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.subscription button:hover {
    background: #0056b3;
}

/* Contact & Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #060606;
}

.footer-section ul li a:hover {
    color: #0420ad;
}

/* Bottom Section */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #070707;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-section {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}
