/* Premium Sections Custom CSS */

/* Global Premium Utilities */
.premium-heading {
    text-align: center;
    margin-bottom: 50px;
}

.premium-heading h2 {
    background-color: #2d6130;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(45, 97, 48, 0.3);
    margin: 0;
}

/* What We Offer Section */
#what-we-offer {
    padding: 80px 0;
    background-color: #f9fdfa;
}

/* Ensure equal height offer cards */
#what-we-offer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#what-we-offer .row > [class^="col-"] {
    display: flex;
    flex-direction: column;
}

.offer-card {
    flex: 1;
    background: linear-gradient(135deg, #0b2e13 0%, #1e5c2b 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(11, 46, 19, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 46, 19, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.offer-watermark {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 180px;
    color: #ffffff;
    opacity: 0.05;
    z-index: -1;
    transition: all 0.5s ease;
}

.offer-card:hover .offer-watermark {
    transform: scale(1.2) rotate(-15deg);
    opacity: 0.1;
}

.offer-icon {
    font-size: 35px;
    color: #ffffff;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    line-height: 74px; /* Accounting for border */
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.offer-card:hover .offer-icon {
    transform: scale(1.1) rotate(360deg);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.offer-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.offer-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Counters Section */
#premium-counters {
    background: linear-gradient(135deg, #103314 0%, #1e5c2b 50%, #103314 100%);
    position: relative;
    padding: 70px 0;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Wavy background effect (pseudo element) */
#premium-counters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 150%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.counter-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.counter-icon-circle img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.counter-number {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.counter-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 80px 0;
    background-color: #ffffff;
}

.wcu-list {
    list-style: none;
    padding: 0;
}

.wcu-list li {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 10px 20px 10px 10px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(45, 97, 48, 0.05);
    transition: all 0.3s ease;
}

.wcu-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 97, 48, 0.15);
    border-color: #2d6130;
}

.wcu-list li i {
    background: #2d6130;
    color: #ffffff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.wcu-list li:hover i {
    transform: rotate(360deg);
}

/* Ensure equal height feature boxes */
#why-choose-us .col-md-6 .row {
    display: flex;
    flex-wrap: wrap;
}

#why-choose-us .col-md-6 .row > [class^="col-"] {
    display: flex;
    flex-direction: column;
}

.feature-box {
    background: linear-gradient(135deg, #0b2e13 0%, #1e5c2b 100%);
    border-radius: 20px;
    padding: 35px 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(11, 46, 19, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex: 1;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 46, 19, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.fb-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.5s ease;
    filter: grayscale(100%);
}

.feature-box:hover .fb-watermark {
    transform: scale(1.2) rotate(-15deg);
    opacity: 0.2;
}

.fb-svg-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.feature-box:hover .fb-svg-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.fb-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.fb-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Customer Success Section */
#customer-success {
    padding: 80px 0;
    background-color: #ffffff;
}

.cs-image-wrapper {
    position: relative;
    padding: 20px 20px 20px 0;
}

.cs-image {
    width: 100%;
    border-radius: 80px;
    position: relative;
    z-index: 2;
    border: 2px solid #2d6130;
}

.cs-image-bg {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #2d6130;
    border-radius: 80px;
    z-index: 1;
}

.cs-subtitle {
    color: #2d6130;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cs-title {
    color: #0b1c3a;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cs-desc {
    color: #64686d;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cs-list {
    list-style: none;
    padding: 0;
}

.cs-list li {
    font-size: 16px;
    color: #64686d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cs-list li i {
    color: #2d6130;
    font-size: 18px;
    margin-right: 15px;
}

/* Partners Slider Section */
#partners-slider-section {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
}

.partners-slider-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.partners-slider-container::before,
.partners-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.partners-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.partners-track {
    display: flex;
    width: calc(250px * 10);
    /* 5 unique items + 5 duplicated items */
    animation: scroll-partners 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-slide {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
}

.partner-slide img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
}

.partner-slide:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
}

/* Footer Associates Section */
#footer-associates {
    background-color: #333333;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #2d6130;
}

.footer-associates-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Premium Contact Section Styles */
.premium-contact-section {
    font-family: 'Open Sans', sans-serif;
    background-color: transparent;
    padding: 0;
    color: #334155;
    margin-top: 15px;
}

.premium-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.premium-contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2d6130;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Watermark styles */
.premium-contact-card::after {
    font-family: "FontAwesome";
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 100px;
    color: rgba(45, 97, 48, 0.18);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.premium-contact-card::after {
    content: "\f095"; /* fa-phone */
}

.premium-contact-card.home::after {
    content: "\f015"; /* fa-home */
    color: rgba(245, 158, 11, 0.18);
}

.premium-contact-card.corporate::after {
    content: "\f0b1"; /* fa-briefcase */
    color: rgba(5, 150, 105, 0.18);
}

.premium-contact-card:hover::after {
    transform: scale(1.1) rotate(-5deg);
}

.premium-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.premium-contact-card.corporate { border-left-color: #059669; }
.premium-contact-card.home { border-left-color: #f59e0b; }

.premium-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.premium-card-title i {
    font-size: 1.6rem;
    color: #2d6130;
}

.premium-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-contact-list li {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.premium-contact-list li:last-child {
    margin-bottom: 0;
}

.premium-contact-list li strong {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.premium-contact-list li span, .premium-contact-list li a {
    font-size: 1.25rem;
    color: #334155;
    text-decoration: none;
    line-height: 1.4;
    font-weight: 600;
}

.premium-contact-list li a:hover {
    color: #2d6130;
}

.premium-office-hours {
    margin-top: 25px;
    background: #1e293b;
    color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.premium-hours-block h4 {
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.premium-hours-block p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}
.premium-card-title, .premium-contact-list { position: relative; z-index: 1; }
