@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

:root {
    --primary: var(--bs-primary);
    --secondary: var(--bs-secondary);
    --light: #f8f9fa;
    --dark: #343a40;
    --accent: #31708e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url('https://actionforrenewables.org/wp-content/uploads/2023/02/images3789-63f5cd81172ab.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
    height: 100vh;
}

.section-padding {
    padding: 80px 0;
}

.about-us {
    background-color: #f8f9fa;
}

.counter-section {
    background: linear-gradient(rgba(106, 76, 147, 0.9), rgba(106, 76, 147, 0.9)), url('https://media.licdn.com/dms/image/v2/D5612AQFMfe161ZCBSw/article-cover_image-shrink_720_1280/B56ZVt3DsoHQAQ-/0/1741304905192?e=2147483647&v=beta&t=f86WUgv6eDY3JIjvWF18CWNjwpHnOLvsLV5Udwtaq8U') center/cover fixed no-repeat;
    color: white;
}

.counter-box {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.counter-box i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.counter-num {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(106, 76, 147, 0.1);
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary);
}

.price-card {
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: white;
}

.price-card.featured {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--secondary);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.price-value {
    font-size: 50px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.price-currency {
    font-size: 20px;
    vertical-align: super;
}

.price-duration {
    font-size: 16px;
    color: #6c757d;
}

.price-features {
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.price-features li i {
    margin-right: 10px;
    color: var(--primary);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #583d7a;
    border-color: #583d7a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 76, 147, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 76, 147, 0.3);
}

.accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #eee;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    font-size: 18px;
    color: #6c757d;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .price-card.featured {
        transform: scale(1);
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

.contact-form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.form-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 2.2rem;
    text-align: center;
}

.form-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.25);
}

.contact-form .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.contact-form .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    border: 1px solid #ced4da;
    margin-bottom: 20px;
}

.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.25);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #583d7a;
    border-color: #583d7a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 76, 147, 0.3);
}

/* Modal styles */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.modal-header {
    background-color: var(--primary);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

/* Checkmark animation */
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    margin: 0 auto 1.5rem;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #28a745;
    }
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .contact-form-container {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .form-title {
        font-size: 1.8rem;
    }
}
