/*-----------------------------------------------------------------------------------
    Template Name: Freelancer - CV and Personal Portfolio Template
    Template URI: uideck.com
    Description: Freelancer - CV and Personal Portfolio Template
    Author: UIdeck
    Author URI: uideck.com
    Version: 1.0
-----------------------------------------------------------------------------------*/

/*===========================
      01. COMMON CSS 
===========================*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800|Open+Sans:400,600,700&display=swap");

body {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #646F87;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    color: #00A78E;
    text-decoration: none;
    transition: all 0.3s ease-out 0s;
}

    a:hover {
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #293651;
    margin: 0px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #646F87;
    margin: 0px;
}

/*===== All Button Style =====*/
.main-btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    padding: 0 40px;
    font-size: 16px;
    line-height: 55px;
    height: 55px;
    border-radius: 5px;
    color: #fff !important;
    background-color: #00A78E;
    transition: all 0.4s ease-out 0s;
    cursor: pointer;
}

    .main-btn:hover {
        background-color: rgba(0, 167, 142, 0.7);
    }

/*===== Section Title Style =====*/
.section_title .sub_title {
    font-size: 20px;
    font-weight: 600;
    color: #00A78E;
}

.section_title .main_title {
    font-size: 35px;
    font-weight: 600;
    margin-top: 20px;
}

.section_title .line li {
    display: inline-block;
    background-color: #00A78E;
    border-radius: 50px;
    height: 3px;
}

    .section_title .line li:nth-of-type(1) {
        width: 64px;
    }

    .section_title .line li:nth-of-type(2) {
        width: 10px;
    }

    .section_title .line li:nth-of-type(3) {
        width: 7px;
    }

/*===========================
        02. HEADER CSS 
===========================*/
/*===========================
        02. HEADER CSS 
===========================*/
.header_navbar {
    position: fixed; /* Keep it fixed from the start to prevent shifting */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.3s ease-out 0s;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0; /* Consistent padding */
}

    /* Ensure the container inside the navbar stays centered and doesn't jump */
    .header_navbar .container {
        max-width: 1140px;
        margin: 0 auto;
    }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; /* Controlled by parent padding */
}

/* This class is added by your JS on scroll - we keep it identical to prevent jumps */
.sticky {
    background-color: #ffffff;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* FIX: Spacing between menu items */
.navbar-nav {
    display: flex;
    flex-direction: row;
}

    .navbar-nav .nav-item {
        margin-left: 35px;
        position: relative;
    }

/* Mobile: Stack items and remove margin */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        background: #fff;
        padding: 20px;
    }

        .navbar-nav .nav-item {
            margin-left: 0;
            margin-bottom: 10px;
        }
}

.header_navbar .navbar-nav .nav-item a {
    color: #293651 !important;
    font-weight: 600;
    font-size: 16px;
    display: block;
    transition: color 0.3s;
}

.header_navbar .navbar-nav .nav-item.active > a,
.header_navbar .navbar-nav .nav-item:hover > a {
    color: #00A78E !important;
}

.navbar-toggler .toggler-icon {
    background-color: #293651 !important;
}

/*===========================
        04. CARDS (SERVICE) CSS 
===========================*/
.services_area {
    background-color: #F9F9F9;
}

.single_service {
    padding: 30px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(196, 196, 196, 0.3);
    transition: all 0.3s ease-out 0s;
    position: relative;
    margin-top: 30px;
}

    /* --- THE HOVER FIX --- */

    /* 1. Nice Teal Background transition */
    .single_service:hover {
        background-color: #00A78E !important;
        box-shadow: 0 10px 30px rgba(0, 167, 142, 0.4) !important;
        transform: translateY(-5px);
    }

        /* 2. Force text to turn WHITE on hover for Education, Experience, and Courses */
        .single_service:hover,
        .single_service:hover h4,
        .single_service:hover p,
        .single_service:hover span,
        .single_service:hover strong,
        .single_service:hover .service_title,
        .single_service:hover .service_title a {
            color: #ffffff !important;
        }

            /* 3. Ensure icons and links also turn white */
            .single_service:hover i,
            .single_service:hover a {
                color: #ffffff !important;
            }

/*===========================
        PROJECT IMAGE HOVER
===========================*/
.project-hover {
    position: relative;
}

.conference-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 240px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

    .conference-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

.project-hover:hover .conference-image {
    opacity: 1;
    transform: scale(1);
}

/*===========================
       CONTACT & FOOTER 
===========================*/
/* Remove the bullet points and white block from the contact section */
#contact .single_service ul {
    display: none;
}

/* Ensure the manual line turns white on hover to match your theme */
#contact .single_service:hover .contact-line {
    background: #ffffff !important;
}

/* Ensure the card doesn't stretch too much */
#contact .single_service {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*# sourceMappingURL=style.css.map */


/* Ensure the Contact button stays visible when the card turns teal */
#contact .single_service:hover .main-btn {
    background-color: #ffffff !important;
    color: #00A78E !important;
    border: none;
}

/* Fix for the lines inside the contact box on hover */
#contact .single_service:hover .line li {
    background-color: #ffffff !important;
}