/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    padding: 60px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

header {
    text-align: center;
}

h1 {
    margin-bottom: 0px;
}

.cta-container {
    margin: 0px 0;
}

.cta-button {
    /* existing button styles */
    display: inline-block;
}

.header-text {
    margin-top: 0px;
}

h1 {
    font-size: 36px;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Button Styles */
.cta-button {
    background-color: #FF5722;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #E64A19;
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    margin: 5px 0;
    flex: 1 1 100%;
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 36px;
    margin-bottom: 5px;
    color: #4CAF50;
}

.stat h3 {
    font-size: 16px;
    margin: 5px 0;
}

.stat p {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
}

.growth {
    color: #4CAF50;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.service-item i {
    font-size: 36px;
    margin-bottom: 10px;
    color: #4CAF50;
}

/* Testimonials Section */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-sizing: border-box;
}

.testimonial-item.active {
    opacity: 1;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
    flex-grow: 1;
    overflow: auto;
    text-overflow: clip;
    display: block;
}

.testimonial-item h4 {
    text-align: right;
    color: #4CAF50;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Module Styles */
.module {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.module.visible {
    opacity: 1;
    transform: translateY(0);
}

.icon {
    margin-right: 10px;
    font-size: 24px;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid #444;
    padding: 15px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
}

.dropdown-icon {
    color: #888;
    transition: transform 0.3s;
}

.faq-item.active .dropdown-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 15px 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Pricing Section */
.price {
    font-size: 36px;
    font-weight: bold;
    color: #4CAF50;
}

.before-after-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 30px 0;
    }

    h1 {
        font-size: 24px;
    }

    .stats {
        flex-direction: column;
    }
    
    .stat {
        margin: 5px 0;
        padding: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-carousel {
        height: 300px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-item p {
        font-size: 14px;
    }

    .testimonial-item h4 {
        font-size: 12px;
    }

    .module {
        padding: 15px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    .stat i {
        font-size: 32px;
    }

    .stat h3 {
        font-size: 14px;
    }

    .stat p {
        font-size: 18px;
    }

    .service-item {
        padding: 10px;
    }

    .service-item i {
        font-size: 24px;
    }

    .testimonial-carousel {
        height: 300px;
    }

    .price {
        font-size: 24px;
    }
}

/* Sticky CTA Styles */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    padding: 15px 20px;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-cta-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.sticky-cta-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

.sticky-cta-button {
    background-color: #FF5722;
    border: none;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.sticky-cta-button:hover {
    background-color: #E64A19;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .sticky-cta-text {
        font-size: 16px;
    }

    .sticky-cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

iframe {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
  display: block;
}

#quote-form {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    color: #fff;
}

#quote-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

#quote-form p {
    text-align: center;
    margin-bottom: 30px;
}

#quote-form h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-group label span {
    color: #FF5722;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    background: #333;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #FF5722;
    background: #444;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.buttons .cta-button {
    flex: 1 1 auto;
    margin: 0 5px;
}

/* Success message styling */
.success-message {
    text-align: center;
    display: none;
}

.success-message h3 {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
    }
    .buttons .cta-button {
        margin: 5px 0;
        width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Trust Badges */
/* CHANGE #9: Added styles for trust badges */
.trust-badge-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.trust-badge {
    width: 80px;
    height: auto;
}


/* CHANGE #1: Style for secondary CTA button above fold */
.secondary-cta {
    background-color: #4CAF50;
}
.secondary-cta:hover {
    background-color: #43A047;
}

.header-text {
    margin-top: 20px;
}

/* Above fold social proof */
.above-fold-social-proof {
    margin: 10px 0;
    font-size: 16px;
}
.above-fold-social-proof .stars {
    color: #FFD700; /* Gold color for stars */
    font-size: 20px;
    margin-right: 10px;
}
.above-fold-social-proof .rating-text {
    vertical-align: middle;
}

/* Hero testimonial carousel above the fold */
.hero-carousel { 
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 150px;
    margin-top: 30px;
    margin-bottom: 40px; /* Ensures the text won’t get clipped by the polygon shape */
    text-align: center;
}

.hero-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-testimonial-slide.active {
    opacity: 1;
}

.hero-testimonial-slide p {
    font-style: italic;
    margin-bottom: 10px;
}
.hero-testimonial-slide h4 {
    color: #ffffff;
}

