@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url(https://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
@import url(https://fonts.googleapis.com/earlyaccess/opensanshebrewcondensed.css);

:root{
    --color-primary: #000;
    --color-secondary: #ED1E24;
    --font-opensans-hebrew-condensed: 'Open Sans Hebrew Condensed', serif;
    scroll-behavior: auto;
}

.text-sec{
    color: var(--color-secondary);
}

/* Helper */


.mb-20{
    margin-bottom: 2rem;
}
.mb-40{
    margin-bottom: 4rem;
}

.letter-spacing-0-5{
    letter-spacing: 0.5rem;
}


/* Typography */
html{
    font-size: 62.5%;
}

body{
    font-family: "Open Sans", serif;    
    font-size: 1.8rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    color: #333;
    /* height: 100vh; */
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--font-opensans-hebrew-condensed);
    margin-bottom: 1.8rem;
    line-height: 1.1;
}

h1{
    font-size: 4rem;
}

h2{
    font-size: 3.4rem;
}

h3{
    font-size: 2.8rem;
}

h4{
    font-size: 2.2rem;
}

p{
    margin-bottom: 1.6rem;
}

@media screen and (min-width: 1024px) {
    body {
        font-size: 1.6rem;
    }

    h1{
        font-size: 6rem;
    }

    h2{
        font-size: 5rem;
    }

    h3{
        font-size: 2.4rem;
    }

    h4{
        font-size: 3rem;
    }
}

/* Buttons */
.btn{
    font-size: 1.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary{
    background-color: var(--color-primary);
    color: #fff;
}

.btn--primary:hover{
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary{
    background-color: var(--color-secondary);
    color: #fff;
}

@media screen and (min-width: 1024px) {
    .btn{
        font-size: 1.6rem;
    }    
}

/* Blocks */
.block{
    padding: 6rem 2rem;
}

.main-title-block{
    padding: 18rem 2rem 6rem;
}


.block-title{
    font-size: 5rem;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1050;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease-in-out;
    opacity: 0;
}

.overlay.active {
    transform: scaleY(1);
    opacity: 1;
}

/* Navbar */
.top-nav{
    position: absolute;
}

.top-nav .navbar-brand{
    margin-left: 3.4rem;
}

.logo{
    max-width: 140px;
    height: auto;
}

.navbar {
    width: 100%;
    z-index: 1100;
    background: transparent;
    padding: 10px 20px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.navbar-brand {
    margin-right: 0;
}

.navbar-brand img {
    max-width: 140px;
}

.hamburger-btn {
    position: relative;
    right: 30px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    z-index: 1101;
    transition: transform 0.5s ease;
}

.hamburger-btn.open{
    transform: rotate(360deg);
}

.white-line .hamburger-line {
    background-color: #fff;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

/* Animate to Spin */
.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.hamburger-btn.open .hamburger-line {
    background-color: #fff;
}

/* Overlay Navbar */
.overlay .navbar {
    width: 90vw;
    top: 180px;
    left: 0;
    right: 0;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-19.9%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.overlay .navbar.show {
    opacity: 1;
    transform: translateY(0);
}

.overlay .navbar:not(.show) {
    opacity: 0;
    transform: translateY(-19.9%);
}

.overlay .navbar-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.overlay .nav-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: var(--font-opensans-hebrew-condensed);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0;
}

.overlay .nav-link:hover {
    color: var(--color-secondary);
}

/* Submenu Styling */
.submenu-icon {
    position: absolute;
    left: -30px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    text-align: center;
    font-size: 1.8rem;
}
.dropdown-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
    text-align: left;
    /* padding: 10px; */
    margin-left: 30px;
}

.nav-item .dropdown-toggle::after {
    content: none; /* Remove the caret */
}

/* Nested Submenu Styling */
.dropdown-menu .dropdown-item.dropdown-toggle {
    display: flex;
    justify-content: flex-start; /* Align text and icon */
    align-items: center; /* Vertically align icon */
}

.dropdown-menu .dropdown-menu {
    margin-left: 20px;
}

.dropdown-menu .dropdown-item {
    color: #fff; /* Submenu item color */
    padding: 0;
    font-size: 1.6rem;
    transition: color 0.3s ease; /* Add hover effect */
    text-transform: uppercase;
    letter-spacing: 0.1px;
}


.dropdown-menu .dropdown-item:hover, 
.dropdown-item.active, .dropdown-item:active,
.dropdown-menu .dropdown-item:focus {
    color: var(--color-secondary); /* Highlight on hover */
    background-color: transparent !important;
    border: 0;
}

.nav-item.dropdown.open .submenu-icon {
    transform: rotate(0deg); /* Rotate the icon smoothly */
    color: var(--color-secondary); /* Change color for emphasis */
}


/* Footer */
.footer{
    background: var(--color-primary);
}

.footer-col{
    margin-bottom: 2rem;
}

.footer-col .logo{
    margin-bottom: 2rem;
}

.social-icons{
    display: flex;
    margin: 0 4rem 2rem;
    justify-content: space-evenly;
}

.social-icons li a{ 
    font-size: 2.4rem;
}

.footer h3{
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5rem;
}

.footer .list li{
    margin-bottom: 1rem;
}

.footer .list li a{
    text-decoration: none;
    color: #999999;
}

.footer .list li a:hover{
    color: var(--color-secondary);
}

.footer .footer-col .fa-phone, .fa-fax, .fa-envelope{
    margin-right: 1rem;
}

@media screen and (min-width: 1024px) {
    .footer-col{
        margin-bottom: 0;
    }
}

/* header block */

.header-title-block{
    margin-bottom: 4rem;
}

.header-title-block h1, .header-title-block h2{
    font-weight: 600;
}

.header-title-block.ceo-message h1{
    margin-top: 3.6rem;
}

/* Section Block */
.section-title-block{
    margin: 2rem auto;
}



@media screen and (max-width: 991px) {
    .dept-image{
        margin: 2rem auto;
    }

    .top-nav .navbar-brand{
        margin-left: 0 !important;
    }

    .top-nav .navbar-brand img{
        max-height: 110px;
    }

    .main-title-banner{
        padding-top: 138px;
        /* padding: 18rem 2rem 6rem; */
    }

    .white-line .hamburger-line{
        background-color: #000;
    }
}

/* CEO Message */
.ceo-message h4{
    font-family: "Open Sans", serif;
    font-weight: 700;
    margin-bottom: 0;
}
 

/* Vision Block */

@media screen and (min-width: 1024px) {
    .vision-block h2{
        font-size: 4.2rem;
    }    
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
}

.card-icon {
    font-size: 2.5rem;
    color: #FF4A56;
    margin-bottom: 10px;
}

.card-title {
    font-weight: bold;
    color: #333;
}

.card-text {
    color: #666;
}

.slick-prev:before,
.slick-next:before {
    color: #333;
}

@media screen and (min-width: 1024px){
    .core-values-icon .card.mt-60{
        margin-top: 6rem;
    }
}


.certificate-card img{
    max-width: 100%;
    border-radius: 8px;
}