/* ===================================
    Crafto - Green energy 
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
/* variable */
:root {      
    --alt-font: "Inter", sans-serif;
    --primary-font: "Inter", sans-serif;
    --base-color: #F47920;
    --green: #195828;
    --dark-gray: #1f2220;
    --medium-gray: #828282;
    --very-light-gray: #f7f7f7;
}
body {
    font-size: 16px;
    line-height: 28px;
}
/* header */
.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: 50px;
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 18px;
}
/* button */
.btn {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0px;
}
/* Target the main button container */
.btn.btn-switch-text.btn-extra-large {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important; /* This removes the orange shadow */
    text-decoration: none;
}

/* Style the inner span which acts as the visible button */
.btn.btn-switch-text.btn-extra-large > span {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    padding: 17px 38px;
    background-color: #F47920; /* Initial dark color */
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Hover effect on the inner span */
.btn.btn-switch-text.btn-extra-large:hover > span {
    background-color: #122646; 
    color: white;
    border: 1px solid white;
    /* If you want a slight lift instead of orange, use a neutral shadow: */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* Ensure the icon has some spacing */
.btn.btn-switch-text.btn-extra-large i {
    margin-right: 10px;
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text > span:hover{
    background-color: #122646;
    border-radius: 50px;
    border: none;
    color: white;
}
.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;
}
/* Text gradient color */
.text-gradient-light-green-white {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #ebf6ee 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Background color */
.bg-light-green {
    background-color: #c4e7cc;
}
.bg-very-light-green {
    background-color: #ebf3ed;
}
/* Transparent background color */
.bg-gradient-green-transparent {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #ebf3ed 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: 70px;
    width: 250px;
}
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: 16px;
        padding: 10px 10px;
    }
}
@media (max-width: 991px){
    /* Background image */
    .md-background-position-top-center {
        background-position: top center !important;
    } 
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        padding-bottom: 15px;
    }
}
@media (max-width: 767px){
    /* Background image */
    .sm-background-position-top-center {
        background-position: top center !important;
    }
}
.text-justify{
    text-align: justify;
}
/*client logo*/
/* Section Header */
.section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

/* Grid Layout */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0;
}

/* Card Styling */
.brand-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

/* Logo Area (Top) */
.brand-logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 20px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Text Area (Bottom) */
.brand-footer {
    padding: 20px;
    text-align: center;
    background-color: #f4f4f4;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- HOVER EFFECTS --- */

.brand-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Adds soft shadow */
}

.brand-card:hover .brand-logo img {
    transform: scale(1.1); /* Slightly zooms the logo */
}

.brand-card:hover .brand-footer {
    background-color: #ffffff; /* Footer turns white on hover */
    color: #122646;
    border-top: 1px solid #F47920;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }
}
/*partner section*/
/*partner section*/
.partner-section {
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 50px;
}

.partner-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 80px;
  color: #222;
}

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll-left-right 30s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  padding: 0 40px;
}

.logo-item img {
  max-height: 130px;
  width: 150px;
  opacity: 1;
  transition: all 0.3s ease;
  
}

/* Animation: LEFT → RIGHT */
@keyframes scroll-left-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-item {
    padding: 0 25px;
  }

  .logo-item img {
    max-height: 45px;
  }
}
/*gallery section*/
/* Container Spacing */
.custom-tab-container {
    padding: 10px;
    display: inline-block;
}

/* Base Link Style */
.portfolio-filter .nav-link {
    color: #122646 !important; /* Your brand dark blue/gray */
    padding: 12px 28px !important;
    margin: 0 8px;
    border: 1px solid #eee !important;
    border-radius: 50px !important; /* Pill shape */
    cursor: pointer;
    background-color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

/* Hover State */
.portfolio-filter .nav-link:hover {
    background-color: #f9f9f9;
    color: #F47920 !important; /* Brand Orange */
    border-color: #F47920 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Active State */
.portfolio-filter .nav-link.active {
    color: #fff !important;
    background-color: #F47920 !important; /* Brand Orange */
    border-color: #F47920 !important;
    box-shadow: 0 10px 20px rgba(244, 121, 32, 0.2); /* Soft colored shadow */
}

/* Adding a subtle underline or dot effect to active text (Optional) */
.portfolio-filter .nav-link span {
    position: relative;
    z-index: 2;
}

/* Responsive adjustment for small screens */
@media (max-width: 767px) {
    .portfolio-filter .nav-link {
        padding: 8px 18px !important;
        margin: 5px;
        font-size: 11px;
    }
}
/* Optimized CSS for default visibility and smooth hover */
.glass-card-static {
    position: relative;
    overflow: hidden;
    height: 480px; /* Professional architectural height */
    transition: all 0.5s ease-in-out;
}

.glass-card-static img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0, 0, 0.2, 1);
}

/* The Overlay - Always Visible */
.glass-overlay-static {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 30px;
    /* Subtle gradient so text is always readable */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    transition: all 0.5s ease;
}

/* Hover Effects */
.glass-card-static:hover img {
    transform: scale(1.1); /* Smooth zoom */
}

.glass-card-static:hover .glass-overlay-static {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 100%);
    transform: scale(1.1);
}

.card-category {
    color: #C3966F; /* Or your site's base-color */
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
