/* ===================================
    Crafto - Green energy 
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
/* variable */
:root {      
    --alt-font: "Montserrat", sans-serif;
    --primary-font: "Montserrat", sans-serif;
    --base-color: #17969d;
    --green: #108a8f;
    --dark-gray: #1f2220;
    --medium-gray: #828282;
    --very-light-gray: #f7f7f7;
}
body {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 28px;
}
body {
    letter-spacing: normal;
}
input, textarea, select, button {
    font-family: var(--primary-font);
}
.hero-teal-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.hero-teal-panel::before {
    content: "";
    position: absolute;
    inset: -12px;
    background: url("../images/landing.png") center / cover no-repeat;
    filter: blur(6px);
    z-index: -1;
}
.hero-accent-line {
    height: 14px;
    background: linear-gradient(90deg, #23c0c8 0%, #17969d 100%);
    border-radius: 999px;
    opacity: .95;
}
.hero-heading {
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.3;
}
.about-card-icon {
    display: inline-block;
    font-size: 56px;
    line-height: 1;
    color: var(--base-color);
}
.gis-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 48px;
    border-left: 1px solid #dce2e5;
    border-right: 1px solid #dce2e5;
    scroll-margin-top: 100px;
}
.gis-service-card {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid #dce2e5;
}
.gis-service-card:nth-child(4n) {
    border-right: 0;
}
.gis-service-card:nth-child(n+5) {
    position: relative;
}
.gis-service-card:nth-child(n+5)::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    border-top: 1px solid #dce2e5;
}
.gis-service-icon {
    display: inline-block;
    font-size: 48px;
    line-height: 1;
    color: var(--base-color);
    margin-bottom: 20px;
}
.gis-service-card h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 12px;
}
.gis-service-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .gis-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gis-service-card:nth-child(2n) { border-right: 0; }
    .gis-service-card:nth-child(n+3) { position: relative; }
    .gis-service-card:nth-child(n+3)::before {
        content: "";
        position: absolute;
        top: -24px;
        left: 0;
        right: 0;
        border-top: 1px solid #dce2e5;
    }
}
@media (max-width: 575px) {
    .gis-services-grid { grid-template-columns: 1fr; row-gap: 32px; }
    .gis-service-card { border-right: 0; padding: 0 15px; }
    .gis-service-card:nth-child(n+2) { position: relative; }
    .gis-service-card:nth-child(n+2)::before {
        content: "";
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        border-top: 1px solid #dce2e5;
    }
}
.gis-video-panel {
    min-height: 720px;
    background-size: cover;
    background-position: center;
}
.gis-feature-row {
    position: relative;
}
#technology {
    scroll-margin-top: 100px;
}
.gis-feature-turbine {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 280px;
    max-width: none;
    padding: 0;
    z-index: 2;
    pointer-events: none;
}
.gis-feature-turbine-base {
    display: block;
    width: 100%;
}
.gis-feature-turbine-blades {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
}
@media (max-width: 991px) {
    .gis-feature-turbine { width: 200px; }
}
@media (max-width: 767px) {
    .gis-feature-turbine { width: 140px; }
}
/* header */
.gis-project-collage {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.2fr 1fr;
    gap: 28px;
    height: clamp(400px, 47vw, 720px);
}
.gis-collage-column {
    display: grid;
    gap: 28px;
    min-width: 0;
    min-height: 0;
}
.gis-collage-left { grid-template-rows: 0.34fr 0.66fr; }
.gis-collage-right { grid-template-rows: 1.1fr 1fr; }
.gis-collage-column > img, .gis-project-collage > .gis-collage-center {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    border-radius: 15px;
    transition: filter .3s ease;
}
.gis-collage-column > img:hover, .gis-project-collage > .gis-collage-center:hover {
    filter: grayscale(100%);
}
.gis-collage-drone {
    position: absolute;
    z-index: 2;
    width: clamp(70px, 11vw, 150px);
    left: 18%;
    top: 20%;
    pointer-events: none;
    animation: gis-drone-flight 18s linear infinite;
}
.gis-collage-drone img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 16px 9px rgba(0, 0, 0, .3));
    animation: gis-drone-hover 1.8s ease-in-out infinite;
}
@keyframes gis-drone-flight {
    0%, 100% { left: 18%; top: 20%; transform: translate(-50%, -50%) rotate(-15deg); }
    12.5% { left: 48%; top: 12%; transform: translate(-50%, -50%) rotate(0deg); }
    25% { left: 80%; top: 22%; transform: translate(-50%, -50%) rotate(25deg); }
    37.5% { left: 88%; top: 48%; transform: translate(-50%, -50%) rotate(55deg); }
    50% { left: 78%; top: 78%; transform: translate(-50%, -50%) rotate(20deg); }
    62.5% { left: 48%; top: 88%; transform: translate(-50%, -50%) rotate(0deg); }
    75% { left: 18%; top: 78%; transform: translate(-50%, -50%) rotate(-25deg); }
    87.5% { left: 10%; top: 48%; transform: translate(-50%, -50%) rotate(-45deg); }
}
@keyframes gis-drone-hover {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-7px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .gis-collage-drone, .gis-collage-drone img { animation: none; }
}
@media (max-width: 767px) {
    .gis-project-collage { height: 430px; gap: 12px; }
    .gis-collage-column { gap: 12px; }
    .gis-collage-column > img, .gis-project-collage > .gis-collage-center { border-radius: 10px; }
}
@media (max-width: 575px) {
    .gis-project-collage { height: 300px; gap: 8px; }
    .gis-collage-column { gap: 8px; }
}
header .left-nav .navbar-nav::before {
    display: none;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 600;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active:hover > a {
    background-color: var(--base-color);
    color: var(--white);
}
.navbar .navbar-nav .dropdown .dropdown-menu a i,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 40px;
    margin-right: 10px;
    width: 40px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover i {
    color: var(--white);
}
header .navbar-brand img {
    max-height: 80px;
}
.site-logo-header {
    display: flex;
    align-items: center;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.site-logo-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/demo-green-energy-slider-right-01.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(.9);
    transform: scale(1.2);
    opacity: .45;
    z-index: -2;
}
.site-logo-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
}
.site-logo-header img {
    display: block;
    max-height: 80px;
    height: auto;
    width: auto;
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 15px;
}
/* button */
.btn {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0px;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 17px 38px;
    font-size: 17px; 
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 12px 26px;
    font-size:14px;
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
    line-height: 1.4;
    letter-spacing: normal;
}
h1, .h1 { font-size: clamp(30px, 3vw, 44px); }
h2, .h2 { font-size: clamp(26px, 2.5vw, 36px); }
h3, .h3 { font-size: clamp(22px, 2vw, 28px); }
h4, .h4 { font-size: 22px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 18px; }

@media (max-width: 575px) {
    body { font-size: 15px; line-height: 1.75; }
    .hero-teal-panel p { font-size: 17px !important; line-height: 1.7 !important; }
    .btn.btn-switch-text.btn-extra-large > span {
        padding: 14px 24px;
        font-size: 15px;
    }
}
/* Text gradient color */
.text-gradient-light-green-white {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #e3f4f5 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Background color */
.bg-light-green {
    background-color: #bfe8ea;
}
.bg-very-light-green {
    background-color: #eaf5f5;
}
/* Transparent background color */
.bg-gradient-green-transparent {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #eaf5f5 100%);
}

.right-210px {
  right: 210px;
}

/* page title */
.page-title-large h1 {
    font-size: 4.2rem;
    line-height: 4rem;
}
.page-title-large h2 {
    font-size: 18px;
}

/* Border color */
.border-color-dark-green {
    border-color: var(--green);
}
/* Subcribe style 02 */
.newsletter-style-02 .btn:hover {
    background-color: var(--green);
}
.newsletter-style-02 .btn {
    height: 85%;
    margin: 4px;
    padding: 5px 20px 5px;
}
.newsletter-style-02 input {
    padding-right: 75px !important;
}

/* Will change */
.animation-rotation {
    -webkit-animation: rotation 2.5s infinite linear;
}
/* footer */
footer .footer-logo img {
    max-height: 43px;
    width: auto;
}
.footer-brand-title {
    font-size: 3rem;
    line-height: 3.2rem;
    max-width: 420px;
}
.footer-brand-block a,
.footer-brand-block span,
.footer-logo-wrap + .col-md-7 a,
footer ul li a {
    font-size: 17px;
}
.footer-logo-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.site-logo-footer img {
    display: block;
    max-height: 80px;
    height: auto;
    width: auto;
}
footer a:hover {
    color: var(--white);
}
footer ul li {
    margin-bottom: 2px;
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}
@media (max-width: 1600px) {
    /* Font size */
    .fs-80 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (max-width: 1199px){
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px 10px;
    }
}
@media (max-width: 991px){
    /* Background image */
    .md-background-position-top-center {
        background-position: top center !important;
    } 
    .gis-video-panel {
        min-height: 560px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        padding-bottom: 15px;
    }
    .site-logo-header {
        padding: 0 !important;
    }
    .site-logo-header img {
        max-height: 80px;
    }
}
@media (max-width: 767px){
    /* Background image */
    .sm-background-position-top-center {
        background-position: top center !important;
    }
    .gis-video-panel {
        min-height: 360px;
    }
    .site-logo-header {
        padding: 0 !important;
    }
    .site-logo-header img {
        max-height: 80px;
    }
    .site-logo-footer img {
        max-height: 80px;
    }
    .footer-brand-title {
        font-size: 2.4rem;
        line-height: 2.6rem;
        max-width: none;
    }
}
