/* === Common Styling === */ 
body {
    padding: 0; 
    margin: 0; 
    box-sizing: border-box; 
    font-family: "Roboto", sans-serif!important; 
    font-optical-sizing: auto; 
    font-size: 16px;
    background-color: #fff;
}

.roboto { 
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}


/* .main-header {
    width: 100%;
    z-index: 1050;
    position: relative;
}
*/

@media (min-width: 992px) {
  .border-lg-end {
    border-right: 1px solid var(--bs-border-color); 
  }
}

#sticky-nav {
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid #eee; 
}

.is-sticky #sticky-nav {
    padding: 5px 0; 
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} 

#main-logo {
    height: 60px; 
    width: auto;
    transition: all 0.4s ease-in-out;
}

@media (min-width: 993px) {
    #main-logo {
        height: 80px;
    }
    
    .is-sticky #main-logo {
        height: 60px; 
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

/* === Navigation Links & CMT Underline Effect === */
.navbar-nav .nav-link {
    position: relative;
    color: #212529 !important;
    padding-bottom: 8px !important; 
    font-weight: 500;
    line-height: 1.5;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #538600; 
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #538600 !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 90%; 
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg); 
    color: #538600;
}

/* === Mobile / Tablet Adjustments (< 992px) === */
@media (max-width: 992px) {
    #main-logo {
        height: 55px;
    }

    .navbar-nav .nav-link::before {
        left: 0 !important;
        transform: none !important;
        bottom: 5px !important;
    }

    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link.active::before {
        width: 40px !important; 
    }
    
    .offcanvas-body .nav-link {
        padding-left: 0 !important;
        margin-bottom: 10px;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }
}

/* === Dropdown Menu Customization === */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #538600 !important;
    padding-left: 25px; 
}

/* === Back to Top & Buttons === */

.social-icons{ color: #fff;}
.social-icons:hover{ color: #a5ca01}

.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 70px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.back-to-top i {
    font-size: 40px;
    color: #538600;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.whatsapp-icon { 
    position: fixed; 
    bottom: 15px; 
    right: 15px; 
    z-index: 100; 
}

/* === Utility & Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.text-success-custom { color: #538600 !important; }
.bg-primary-custom { background-color: #024A7E !important; }

.more-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: #024A7E;
    color: #fff !important;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: #538600;
    box-shadow: 0 4px 15px rgba(83, 134, 0, 0.3);
}

/* ============ home page ================ */
.more-btn{padding: 5px 15px; border-radius: 5px; background-color: #024A7E; font-size:18px;  color:#FFFFFF!important;}
.more-btn:hover{background-color:#578F02; color: #FFFFFF!important;}
.eventname{text-decoration:none;}
.eventname:hover{text-decoration:underline;}
.modal-dialog {margin-top: auto;margin-bottom: auto; max-width: 800px;margin-top:100px;}
.modal-body { position:relative; padding:10px;}
.close { position:absolute; right:10px; top:8px; z-index:999;  font-size:3rem;  font-weight: normal;  opacity:1;}


.icon-round{
    background: none repeat scroll 0 0 #fff;
    border-radius: 80px;
    color: #6f9600!important;
    display: block;
    float: left;
    font-size: 25px;
    height: 60px;
    line-height: 60px;
    margin-right: 10px;
    text-align: center;
    width: 60px;
}

.more-btn-sucess{ padding: 5px 15px; background: none; font-size:18px; border: 2px solid #83a700; border-radius: 0; color: #83a700; text-decoration: none;;}
.more-btn-sucess:hover{background-color:#83a700; color: #FFFFFF!important;}

.submit-btn{
 background-color: var(--bs-primary);
    border: none;
	color:#FFF;
    text-transform: uppercase;
    padding: 7px 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
	border-radius: 5px;
	transition: 0.3s;
}
.submit-btn:hover {
    background-color: var(--bs-success);
    border: none;
}

.submit-btn2{
    background-color: #5bc11c;
    border: none;
	color:#FFF;
    text-transform: uppercase;
    padding: 7px 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
	border-radius: 5px;
	transition: 0.3s;
}
.submit-btn2:hover{
background-color: #0099FF;
color: #ffffff;
}

/* ============ inhouse page ================ */

@media (min-width: 993px) {
    
.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
}

    .process-timeline::before {
        content: '';
        position: absolute;
        top: 75px; 
        left: 5%;
        right: 5%;
        height: 3px;
        background-color: #024A7E; 
        z-index: 1;
    }


.timeline-item {
    position: relative;
    z-index: 2;
}

.timeline-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.icon-circle {
    width: 50px ;
    height: 50px;
    background-color: #024A7E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.step-number {
    width: 25px;
    height: 25px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-top: -12px; 
    z-index: 3;
}

.timeline-content h5 {
    font-size: 1.1rem;
    color: #212529;
}

.timeline-content p {
    line-height: 1.4;
    padding: 0 10px;
}
}

@media screen and (max-width: 992px) {
    .process-timeline {
        display: block;
        position: relative;
        padding-left: 13px;
    }

    .process-timeline::before {
        display: block; 
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 24px; 
        width: 3px;
        background-color: #024A7E;
        z-index: 1;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 50px; 
        z-index: 2;
        text-align: left; 
    }

    .timeline-icon-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        margin-bottom: 10px; 
        margin-left: 25px; 
        background-color: #024A7E;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .step-number {
        position: absolute;
        margin-top: 15px;
        margin-left: -12px; 
        background-color: #000;
        color: #fff;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
    }

    .timeline-content {
        padding-left: 30px; 
    }

    .timeline-content h5 {
        margin-top: 10px;
        font-weight: bold;
    }
}

.overlay-bg {
    position: relative;
    overflow: hidden; 
    z-index: 1;
}

.overlay-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.2; 
    z-index: -1;
    transition: opacity 0.3s ease; 
}

.bg-box1::before { background-image: url('../images/inhouse/bg-img4.jpg'); }
.bg-box2::before { background-image: url('../images/inhouse/bg-img4.jpg'); }
.bg-box3::before { background-image: url('../images/inhouse/bg-img4.jpg'); }
.bg-box4::before { background-image: url('../images/inhouse/bg-img4.jpg'); }
.bg-box5::before { background-image: url('../images/inhouse/bg-img4.jpg'); }
.bg-box6::before { background-image: url('../images/inhouse/bg-img4.jpg'); }

/* ====== in house training page 2 ===========  */

.link-blue{
		color: #024A7E;
		text-decoration: none;	
		transition: 0.3s;
		-webkit-transition: 0.3s;
		-moz-transition: 0.3s;
		-ms-transition: 0.3s;
		-o-transition: 0.3s;
}

.link-blue:hover{
		color:  #538600;
		text-decoration: none;	
		transition: 0.3s;
		-webkit-transition: 0.3s;
		-moz-transition: 0.3s;
		-ms-transition: 0.3s;
		-o-transition: 0.3s;
}


.accordion-button::after {
    background-image: none !important;
    position: relative;
    font-family: "bootstrap-icons";
    content: "\F4F9"; 
    font-size: 1.8rem;
    top: -5px;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    content: "\F2E5"; 
    transform: none; 
}