/* style.css - Cleaned and Optimized */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables */
:root {
    --yellow: #f19f1b;
    --green: #497270;
    --header-bg: #fffdf6;
    --black: #000;
    --white: #fff;
    --heading: #4C4C4C;
    --text: #383838;
    --grey: #ebebeb;
    --border: #cecece;
    --dark-grey: #2A2727;
    --heading: #333333;
    --dark-green: #314a3e;
}

/* Typography */
body {
    font-family: "Roboto", sans-serif;
    background-color: #fbfbfb;
    color: var(--text);
    line-height: 1.6;
}

/* Color Classes */
.yellow { color: var(--yellow); }
.dark-green { color: var(--dark-green); }
.green { color: var(--green); }
.black { color: var(--black); }
.heading { color: var(--heading); }
.white { color: var(--white); }

/* Font Size Classes */
.fs12 { font-size: 12px; }
.fs13 { font-size: 13px; }
.fs14 { font-size: 14px; }
.fs16 { font-size: 16px; }
.fs17 { font-size: 17px; }
.fs18 { font-size: 18px; }
.fs20 { font-size: 20px; }
.fs22 { font-size: 22px; }
.fs24 { font-size: 24px; }
.fs26 { font-size: 26px; }
.fs30 { font-size: 30px; }
.fs36 { font-size: 36px; }
.fs38 { font-size: 38px; }
.fs40 { font-size: 40px; }
.fs70 { font-size: 70px; }

/* Font Weight Classes */
.fw400 { font-weight: 400; }
.fw500 { font-weight: 500; }
.fw600 { font-weight: 600; }
.fw700 { font-weight: 700; }
.fw800 { font-weight: 800; }

/* Animation */
.blink {
    animation: blink_animation 1.5s infinite;
}

@keyframes blink_animation {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Button Styles - Consolidated */
.btn-new {
    background-color: #446f68;
    color: #fff;
    border: 2px solid #446f68;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-new:hover, 
.btn-new:focus {
    background-color: #3a5f58;
    color: #fff;
    border-color: #3a5f58;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(68, 111, 104, 0.2);
    text-decoration: none;
}

.btn-new:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(68, 111, 104, 0.2);
}

.btn-new i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Yellow Button - Updated with 11px padding */
.yellow-btn-new {
    background-color: var(--yellow);
    border: 2px solid var(--yellow);
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    padding: 9px 40px; /* Changed from 10px to 11px */
    border-radius: 5px;
    transition: .67s;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.yellow-btn-new:hover {
    background-color: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.yellow-btn:hover {
    background-color: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

/* Yellow Button - Updated with 11px padding */
.yellow-btn {
    background-color: var(--yellow);
    border: 2px solid var(--yellow);
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    padding: 15px 40px; /* Changed from 10px to 11px */
    border-radius: 5px;
    transition: .67s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.yellow-btn:hover {
    background-color: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.products_sec .yellow-btn {
    padding: 11px 26px; /* Consistent 11px padding */
}

/* Header */
.header {
    padding: 3px 0;
    background: var(--white);
}

.header.fixed-header {
    animation: smoothScroll .7s forwards;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

@keyframes smoothScroll {
    0% { transform: translateY(-80px); }
    100% { transform: translateY(0); }
}

.header .navbar-light .navbar-nav .nav-link {
    padding: 0 5px;
    margin: 0 25px;
    color: var(--green);
    position: relative;
    transition: color .67s;
}

.header .navbar-light .navbar-nav .nav-link:hover,
.header .navbar-light .navbar-nav .nav-link.active {
    color: var(--yellow);
}

.header .navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 0;
    height: 1px;
    background-color: var(--yellow);
    left: 0;
    transition: width .67s;
}

.header .navbar-light .navbar-nav .nav-link:hover::after,
.header .navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Banner */
.banner {
    padding: 20px 0 0;
}

.banner .banner-img img {
    width: 86%;
}

.banner ul {
    list-style: none;
    padding-left: 25px;
}

.banner ul li {
    position: relative;
    margin-bottom: 8px;
}

.banner ul li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 8px;
    background-image: url(../img/right-arrow.png);
    background-repeat: no-repeat;
    height: 12px;
    width: 25px;
    background-size: 16px;
}

/* Clients */
.clients {
    background-color: #FCFCFC;
    padding: 30px 0;
}

.client-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.client-wrapper .ig-client {
    background-color: var(--white);
    border: 1px solid var(--green);
    border-radius: 10px;
    padding: 20px;
    min-height: 158px;
    max-height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefits */
.benifits {
    padding: 80px 0;
}

.benifit-content {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    position: relative;
    text-align: center;
}

.benifit-content .img-benifits {
    height: 80px;
    width: 80px;
    background-color: var(--white);
    border-radius: 50%;
    margin: -70px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benifit-content svg {
    fill: var(--yellow);
}

/* Products */
.products_sec .row {
    padding: 25px 0;
}

/* Reviews */
.reviews {
    padding: 50px 0;
}

.review-wrapper {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.review-client {
    background-color: var(--white);
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 10px;
    min-height: 60px;
    min-width: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Security */
.security {
    padding: 50px 0;
}

.security-grids {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Contact */
.contact {
    padding: 30px 0;
    background-color: #ffefc6;
    margin-top: 60px;
}

.contact .form-contact {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
}

.contact .form-contact .input-wrapper input,
.contact .form-contact .input-wrapper textarea,
.contact .form-contact .input-wrapper select {
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px 20px;
    width: 100%;
}

.contact .form-contact .input-wrapper textarea {
    height: 90px;
    resize: vertical;
}

.contact-details {
    width: 60%;
    margin: auto;
}

.img-icons {
    position: absolute;
}

.img-icons.hrm-icon { top: 0; left: 150px; }
.img-icons.crm-icon { top: 60px; right: 50px; }
.img-icons.rating-icon { bottom: 60px; left: 50px; }
.img-icons.support-icon { bottom: 0; right: 50px; }

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq .faq-sec {
    width: 80%;
    margin: auto;
}

.faq .accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.faq .accordion-button:focus,
.faq .accordion-button:not(.collapsed) {
    background-color: var(--white);
    border: none;
    box-shadow: none;
    color: var(--dark-green);
}

.faq .accordion-body {
    border-top: 1px solid #e0e0e0;
    padding: 1rem 0;
    margin: 0 1.2rem;
    line-height: 23px;
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    padding: 60px 0 20px;
}

.footer .input-white {
    background-color: var(--white);
    border-radius: 50px;
    border: 1px solid var(--white);
    padding: 14px 30px;
    width: 100%;
}

.footer .input-btn {
    background-color: var(--green);
    border: 1px solid var(--green);
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.footer .copyright {
    padding-top: 20px;
    border-top: 1px solid #3c3c3c;
    margin-top: 60px;
}

/* Inner Banner */
.inner-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    position: relative;
    margin-bottom: 40px;
}

.inner-banner::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: .6;
    z-index: 1;
}

.inner-banner .inner-title {
    position: relative;
    z-index: 2;
    width: 80%;
    margin: auto;
}

.inner-banner.index {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
}

/* Blog Cards - Consolidated Styles */

.back:hover{
    color:var(--yellow);
}
.blog-thumbnail {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
}

.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card-body.d-flex {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body.p-4 {
    padding: 1.5rem !important;
}

.post-meta.mb-3 {
    margin-bottom: 1rem !important;
}

.post-meta small {
    margin-right: 0.5rem;
}

.post-meta .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.card-title.mb-3 {
    margin-bottom: 1rem !important;
}

.card-subtitle.mb-4 {
    margin-bottom: 1.5rem !important;
}

.card-subtitle p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6c757d !important;
    padding-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-excerpt.mb-4 {
    margin-bottom: 1.5rem !important;
    flex-grow: 1;
}

.card-excerpt p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt-auto.pt-4 {
    padding-top: 1.5rem !important;
    margin-top: auto !important;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.row.g-4 {
    align-items: stretch;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    margin-top: 40px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: #f1a61a;
    color: #000;
    border-color: #f1a61a;
}

.page-numbers.current {
    font-weight: bold;
}

/* Success Message */
.success-div {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn-new {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
    
    .yellow-btn {
        padding: 11px 30px;
    }
    
    .yellow-btn-new {
        padding: 9px 30px;
    }
    
    .blog-thumbnail {
        height: 180px;
    }
    
    .card-body.p-4 {
        padding: 1.25rem !important;
    }
    
    .card-title.mb-3,
    .card-subtitle.mb-4,
    .card-excerpt.mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .card-excerpt p {
        -webkit-line-clamp: 2;
    }
    
    .card-subtitle p {
        -webkit-line-clamp: 1;
    }
    
    .mt-auto.pt-4 {
        padding-top: 1rem !important;
    }
    
    .contact-details {
        width: 100%;
    }
    
    .img-icons {
        display: none;
    }
    
    .footer .copyright .policy {
        flex-direction: column;
        gap: 10px;
    }
    
    .client-wrapper .ig-client {
        min-height: 120px;
        max-height: 120px;
        padding: 15px;
    }
    
    .inner-banner {
        padding: 40px 0;
    }
    
    .inner-banner .inner-title {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .header .navbar-light .navbar-nav .nav-link {
        margin: 0 10px;
    }
    
    .benifit-content {
        margin-bottom: 60px;
    }
    
    .security-grids {
        gap: 30px;
    }
    
    .review-wrapper {
        margin-bottom: 20px;
    }
    
    .faq .faq-sec {
        width: 100%;
    }
}







/* Single Blog Post Styles */

/* Two column layout for single post header */
.entry-headerN .row.align-items-start {
    min-height: 320px;
}

/* Post title styling */
.entry-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
}

/* Entry subtitle styling */
.entry-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    color: #5a6268 !important;
    margin-bottom: 1.5rem !important;
}

/* Featured image styling */
.post-thumbnail img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease;
}

.post-thumbnail img:hover {
    transform: scale(1.01);
}

/* Content area */
.entry-content .content-wrapper {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #333;
}

.entry-content .content-wrapper p {
    margin-bottom: 1.5rem;
}

.entry-content .content-wrapper h2,
.entry-content .content-wrapper h3,
.entry-content .content-wrapper h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 600;
}

.entry-content .content-wrapper ul,
.entry-content .content-wrapper ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content .content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Share buttons - icons only */
.share-buttons {
    margin-top: 3rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid #e9ecef;
}

.share-buttons h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Individual share button colors */
.share-icon.facebook {
    color: #1877F2;
    background-color: rgba(24, 119, 242, 0.1);
}

.share-icon.facebook:hover {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-icon.instagram {
    color: #ab3b93;
    background-color: rgba(29, 161, 242, 0.1);
}

.share-icon.instagram:hover {
    background-color: #ab3b93;
    color: white;
    border-color: #1DA1F2;
}

.share-icon.linkedin {
    color: #0077B5;
    background-color: rgba(0, 119, 181, 0.1);
}

.share-icon.linkedin:hover {
    background-color: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-icon.whatsapp {
    color: #25D366;
    background-color: rgba(37, 211, 102, 0.1);
}

.share-icon.whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.share-icon.email {
    color: #EA4335;
    background-color: rgba(234, 67, 53, 0.1);
}

.share-icon.email:hover {
    background-color: #EA4335;
    color: white;
    border-color: #EA4335;
}

/* Post navigation */
.post-navigation {
    margin-top: 4rem !important;
    padding-top: 3rem !important;
}

.post-navigation .hover-lift {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.post-navigation .hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--yellow);
}

/* Category badges */
.post-categories .badge {
    background-color: var(--yellow);
    color: #000;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-categories .badge:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-2px);
}

/* Tag badges */
.post-tags .badge {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-tags .badge:hover {
    background-color: var(--dark-green);
    color: white;
    border-color: var(--dark-green);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .entry-headerN .row.align-items-start {
        flex-direction: column-reverse;
        min-height: auto;
    }
    
    .entry-title {
        font-size: 1.8rem !important;
    }
    
    .entry-subtitle {
        font-size: 1rem !important;
    }
    
    .post-thumbnail img {
        max-height: 350px;
        margin-bottom: 2rem;
    }
    
    .share-icon {
        width: 45px;
        height: 45px;
    }
    
    .share-icon i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 1.6rem !important;
    }
    
    .entry-content .content-wrapper {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
    
    .share-buttons .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .post-navigation .row > div {
        margin-bottom: 1rem;
    }
    
    .post-thumbnail img {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .entry-title {
        font-size: 1.4rem !important;
    }
    
    .post-thumbnail img {
        max-height: 250px;
    }
    
    .share-icon {
        width: 40px;
        height: 40px;
        margin: 0.5rem;
    }
    
    .share-icon i {
        font-size: 1.3rem !important;
    }
}

/* Visually hidden for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Post Navigation Styles */
.post-navigation a {
    text-decoration: none !important;
    color: inherit;
}

.post-navigation a:hover,
.post-navigation a:focus {
    text-decoration: none !important;
    color: inherit;
}

/* Remove any default link styling */
.post-navigation a,
.post-navigation a:link,
.post-navigation a:visited,
.post-navigation a:hover,
.post-navigation a:active {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure text inside has no underline */
.post-navigation .fw-bold,
.post-navigation span,
.post-navigation div {
    text-decoration: none !important;
}

/* Hover effect for navigation boxes */
.post-navigation .hover-lift {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.post-navigation .hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--yellow);
    text-decoration: none !important;
}

/* For disabled state */
.post-navigation .opacity-50 {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-navigation {
        margin-top: 3rem !important;
        padding-top: 2rem !important;
    }
    
    .post-navigation .hover-lift {
        padding: 15px !important;
    }
    
    .post-navigation i.fa-2x {
        font-size: 1.5rem !important;
    }
}