/* ===================================
    Crafto - Branding agency
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #e99022; 
    --medium-gray: #7b7a7a;
    --dark-gray: #1d1d1d;  
    --charcoal-blue: #232323;
    --alt-font: 'Montserrat', sans-serif;
    --primary-font: 'Montserrat', sans-serif;
    --color-primary : #7ba822;
    --color-secondary: #006474;
}
body {
    line-height: 30px;
}
a:hover {
    color: var(--dark-gray);
}
h1, .h1 {
    line-height: 4rem;
}
h3, .h3 { 
    line-height: 2.813rem;
}
h4 {
    line-height: 2.6rem;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
header .header-button .btn.btn-switch-text.btn-medium > span {
    padding: 12px 22px;
}
header .navbar-brand img {
    max-height: 34px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark-gray) !important;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover {
    background-color: #f6f4f3;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
    width: 35px;
}
/*margin*/
.ms-100px {
    margin-left: 100px;
}
.ms-80px {
    margin-left: 80px;
}
.mb-minus-50px {
    margin-bottom: -50px;
}
/* btn */
.btn {
    text-transform: none;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 16px;
    padding: 16px 32px;
}
.btn.btn-large {
    font-size: 15px;
    padding: 15px 30px;
}
.btn.btn-switch-text.btn-large > span {
    padding: 15px 30px;
}
.btn-gradient-fuel-yellow-blue {
    background-image: linear-gradient(to right, #d18215, #3797a1, #d18215);
    background-size: 200% auto;
    color: var(--white);
}
.btn-primary-green {
    background-image: linear-gradient(to right, #7ba822, #7ba822, #7ba822);
    background-size: 200% auto;
    color: var(--color-secondary);
}

.btn-teal {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    font-size: 16px;
    padding: 14px 24px;
}

.btn-teal:hover {
    background-color: #1f4e5e;
    border-color: #1f4e5e;
    color: #fff;
}

.btn-large.btn-teal:hover {
    background-color: #1f4e5e;
    border-color: #1f4e5e;
    color: #fff;
    font-size: 16px;
    padding: 14px 24px;
}

/* left right top bottom */
.left-minus-45 {
    left: -45%;
}
.bottom-minus-200px {
    bottom: -200px;
}
.one-half-screen {
  height: 550px !important;
}
.swiper-pagination-progress .swiper-progress {
    background-color: var(--dark-gray); 
}
.magic-drag-cursor #ball-cursor:before {
    font-weight: 500;
}
/* text gradient color */
.text-gradient-base-color {
    background-image: linear-gradient(to right, #e97522 0%, #1ea3b1 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-orange{
    color: #e97522;
}
.text-blue{
    color: #1ea3b1;
}
/* bg gradient color */
.bg-gradient-top-very-light-gray { 
    background-image:linear-gradient(to right, #fbf3e9, #f9f4eb, #f4f4f0, #f2f4f2, #eff4f4);
}
.bg-linen {
    background: #f6f4f3;
}
.bg-gradient-orange-transparent {
    background: linear-gradient(to right, rgba(233, 117, 34, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-blue-transparent {
    background: linear-gradient(to right, rgba(30, 163, 177, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
/* blog only text */
.blog-only-text .card-body:after {
    display: none;
}
/* social icon style 06 */
.social-icon-style-06 li {
    position: relative;
}
.social-icon-style-06 li:before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--medium-gray);
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    opacity: .5;
}
.social-icon-style-06 li:last-child:before {
    display: none;
}
.google-maps-link a:hover {
    color: var(--white);
}
/* z-index */
.z-index-99 {
    z-index: 99; 
}

/* LAYOUT */
.expert-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* GRID */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ITEM */
.expert-item {
    position: relative;
    height: 100%;
    border-radius: 33px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* OVERLAY */
.expert-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(230,244,248,.35),
        rgba(0,0,0,.1)
    );
}

/* COLOR THEMES */
.expert-item.green { background-color: #9DBE3C; }
.expert-item.teal  { background-color: #2C7C91; }
.expert-item.mint  { background-color: #BFEDE6; }
.expert-item.light { background-color: #F2F2F2; }

/* TEXT */
.expert-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
}

.expert-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.expert-info p {
    margin-top: 4px;
    font-size: 13px;
    opacity: .9;
}

.expert-info.dark {
    color: #0b3a44;
}

/* RIGHT CONTENT */
.expert-content {
    color: white;
}

.expert-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.expert-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.expert-item {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* HOVER EFFECT */
.expert-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(166, 200, 79, 0.4),
        0 0 25px rgba(166, 200, 79, 0.45);
}

/* MAIN LAYOUT */
.learning-section {
    display: grid;
    grid-template-columns: 30% 70%;
    min-height: 100vh;
}

/* LEFT PANEL */
.left-panel {
    background: #9DBE3C;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BUTTON */
.btn-learn {
    background: white;
    color: #235668;
    border: none;
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 700;
    width: fit-content;
    cursor: pointer;
}

/* RIGHT PANEL */
.right-panel {
    position: relative;
    overflow: hidden;
}

.right-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DARK OVERLAY */
.right-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 60, 80, 0.85),
        rgba(0, 60, 80, 0.1)
    );
}

/* OVERLAY CONTENT */
.overlay-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    right: 60px;
    z-index: 2;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
}

.overlay-left h2 {
    font-size: 34px;
    font-weight: 800;
    margin-top: 20px;
}

.overlay-right p {
    font-size: 15px;
    line-height: 1.6;
}

/* NAV BUTTONS */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,.25);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
}

.nav.prev { 
    padding-left: 13px;
    padding-top: 10px;
    left: 30px; 
}
.nav.next { 
    right: 30px;
    padding-left: 13px;
    padding-top: 10px;
 }

/* DOTS */
.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
}

.dots span.active {
    background: white;
}

/* ================= PARTNERS ================= */

.partners-section {
    background: #eaf6f9;
    padding-top: 40px;
    padding-bottom: 70px;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
}

.partners-section h2 {
    font-size: 36px;
    color: #2b6f7f;
    margin-bottom: 40px;
}

/* SLIDER */
.partners-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 40px;
}

.partners-logos img {
    max-height: 60px;
    object-fit: contain;
}

/* ARROWS */
.arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #2b6f7f;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #2b6f7f;
}

/* DOTS */
.dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dots span {
    width: 9px;
    height: 9px;
    background: #8faeb7;
    border-radius: 50%;
}

.dots .active {
    background: #2b6f7f;
}


/* ================= RESPONSIVE ================= */


@media (min-width: 992px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding: 20px 30px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        width: 285px;
    }
}
@media (max-width: 1199px) {
    .left-minus-45 {
        left: -78%;
    }
    .lg-ms-70px {
        margin-left: 70px;
    }
    .lg-bg-transparent {
        background-color: transparent;
    }
    .one-half-screen {
        height: auto !important;
    }
}
@media (max-width: 991px) {
    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .nav-item .dropdown-menu a i {
        font-size: 19px;
        vertical-align: middle;
        color: var(--white);
    }
    .md-top-auto {
        top: auto;
    }
}