/*===================================== 
YOU CAN WRITE CUSTOM CSS 
======================================*/

/* Modern Premium Cards for Our Core Range Section */
.hover-box-effect {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hover-box-effect .wt-icon-box-wraper {
    background: #ffffff !important; /* Clean white card by default */
    border: 1px solid rgba(39, 68, 36, 0.08) !important; /* Extremely thin green-tinted border */
    border-radius: 16px !important; /* Soft premium corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important; /* Very soft shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: hidden;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 45px !important;
    padding-bottom: 35px !important; 
}

/* Green top accent line visible by default, expands on hover */
.hover-box-effect .wt-icon-box-wraper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #274424; /* Theme primary green */
    transition: all 0.35s ease;
    z-index: 2;
}

.hover-box-effect:hover .wt-icon-box-wraper::before {
    height: 6px; 
    background: #1a2e18; 
}

/* Card translation and shadow on hover */
.hover-box-effect:hover .wt-icon-box-wraper {
    transform: translateY(-10px) !important; /* Smooth lift */
    background: linear-gradient(to bottom, #ffffff, #f7faf6) !important; /* Faint gradient on hover */
    box-shadow: 0 20px 40px rgba(39, 68, 36, 0.1) !important; /* Soft brand glow */
    border-color: rgba(39, 68, 36, 0.22) !important;
}

/* Rounded-square icon block - modern UI style */
.hover-box-effect .icon-lg {
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    background: linear-gradient(135deg, rgba(39, 68, 36, 0.08) 0%, rgba(39, 68, 36, 0.03) 100%) !important;
    border: 1.5px solid rgba(39, 68, 36, 0.15) !important;
    border-radius: 18px !important; /* Rounded square shape */
    margin: 0 auto 25px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.35s ease !important;
}

.hover-box-effect .icon-lg .icon-cell {
    display: block !important;
    width: auto !important;
    height: auto !important;
}

/* Flaticon styling - green by default */
.hover-box-effect .icon-lg .icon-cell i {
    font-size: 28px !important; 
    color: #274424 !important; 
    transition: all 0.35s ease !important;
    vertical-align: middle;
}

/* Icon block hover state - turns solid green */
.hover-box-effect:hover .icon-lg {
    background: linear-gradient(135deg, #274424 0%, #3e683a 100%) !important; 
    border-color: #274424 !important;
    box-shadow: 0 6px 15px rgba(39, 68, 36, 0.2) !important;
}

.hover-box-effect:hover .icon-lg .icon-cell i {
    color: #ffffff !important;
    transform: scale(1.1);
}

/* Card content container */
.hover-box-effect .icon-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Card heading styles */
.hover-box-effect .icon-content h4 {
    font-size: 18px !important; 
    font-weight: 700 !important;
    color: #1a2e18 !important; /* Dark green/black */
    margin-bottom: 12px !important;
    transition: color 0.3s ease !important;
    text-transform: capitalize !important;
}

.hover-box-effect:hover .icon-content h4 {
    color: #274424 !important; 
}

/* Card description styles */
.hover-box-effect .icon-content p {
    font-size: 13.5px !important; 
    line-height: 1.6 !important;
    color: #555555 !important;
    margin-bottom: 25px !important;
    flex-grow: 1; 
}

/* Premium Button-style Link */
.hover-box-effect .site-button-link {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #274424 !important; /* Theme link color */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 24px !important;
    border: 1.5px solid #274424 !important;
    border-radius: 30px !important; /* Rounded pill button */
    display: inline-block;
    transition: all 0.3s ease !important;
    align-self: center; 
    background: transparent !important;
    text-decoration: none !important;
}

/* Button hover state - solid green fill with shadow */
.hover-box-effect:hover .site-button-link {
    background: #274424 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(39, 68, 36, 0.2) !important;
    transform: translateY(-2px);
}

/* Disable default sliding underline for this button look */
.hover-box-effect .site-button-link::after {
    display: none !important;
}


/* ===================================== 
   Why Synergy Solution Section Styles 
   (Updated to project green & #FB6802 custom orange branding)
======================================*/

.why-synergy-section {
    background-color: #f7fbf8 !important; /* Faint green-tinted light background */
    position: relative;
}

/* Dot grids on left/right of title - Custom Orange dots */
.why-synergy-title-wrapper {
    position: relative;
    display: inline-block;
    padding: 0 70px;
}

.dot-pattern-left, .dot-pattern-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 20px;
    background-image: radial-gradient(#FB6802 25%, transparent 25%); /* Custom orange dots */
    background-size: 6px 6px;
    opacity: 0.8;
}

.dot-pattern-left {
    left: 0;
}

.dot-pattern-right {
    right: 0;
}

.why-synergy-title {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #1a2e18 !important; /* Brand dark green */
    margin: 0 !important;
    letter-spacing: -0.5px;
    text-transform: none !important;
}

/* Redefine text-orange inside why synergy section to custom orange */
.why-synergy-section .text-orange {
    color: #FB6802 !important; /* Custom orange */
}

/* Custom underline below header */
.title-underline {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 6px;
}

.title-underline .line-blue {
    width: 45px;
    height: 4px;
    background: #274424; /* Theme green */
    border-radius: 2px;
}

.title-underline .line-orange {
    width: 25px;
    height: 4px;
    background: #FB6802; /* Custom orange */
    border-radius: 2px;
}

/* Why Choose Cards */
.why-card {
    background: #ffffff;
    border: 1px solid rgba(39, 68, 36, 0.08); /* Green border tint */
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(39, 68, 36, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(39, 68, 36, 0.1);
    border-color: rgba(251, 104, 2, 0.35); /* Custom orange border on hover */
}

/* Circular icon block containing outer arc ring */
.why-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
}

.why-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 74px;
    height: 74px;
    background: #274424; /* Brand green background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(39, 68, 36, 0.15);
    transition: all 0.3s ease;
}

/* The custom orange arc ring around the icon */
.why-icon-wrap::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 86px;
    height: 86px;
    border: 3px solid transparent;
    border-top-color: #FB6802; /* Custom orange top arc */
    border-right-color: #FB6802; /* Custom orange right arc */
    border-radius: 50%;
    transform: rotate(-45deg);
    transition: all 0.5s ease;
}

.why-card:hover .why-icon-wrap::after {
    transform: rotate(135deg); /* Spin ring on hover */
    border-top-color: #FB6802;
    border-right-color: #FB6802;
}

.why-card:hover .why-icon {
    background: #FB6802; /* Custom orange icon bg on hover */
    transform: scale(1.05);
}

/* Sub-badges for Rupee & Warranty */
.why-icon-sub {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #ffffff;
    color: #274424; /* Brand green */
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #274424;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 3;
    transition: all 0.3s ease;
}

.badge-orange {
    background: #FB6802; /* Custom orange badge */
    color: #ffffff;
    border-color: #ffffff;
    font-size: 10px;
    width: 26px;
    height: 26px;
}

.why-card:hover .why-icon-sub:not(.badge-orange) {
    border-color: #FB6802;
    color: #FB6802;
}

.why-card:hover .badge-orange {
    background: #274424;
}

/* Content details inside Why card */
.why-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.why-content h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #274424 !important; /* Brand dark green */
    margin-top: 5px !important;
    margin-bottom: 12px !important;
    transition: color 0.3s ease;
}

.why-card:hover .why-content h4 {
    color: #FB6802; /* Custom orange heading on hover */
}

.why-content p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #555555 !important;
    margin-bottom: 0 !important;
    flex-grow: 1;
}
