/* --- General Setup & Variables --- */
:root {
    --primary-color: #0052CC; /* A strong, professional blue */
    --secondary-color: #F4F5F7; /* A light grey for backgrounds */
    --accent-color: #FFAB00; /* A vibrant yellow/orange for highlights */
    --text-color: #172B4D; /* Dark blue for text */
    --text-color-light: #5E6C84;
    --white-color: #FFFFFF;
    --border-color: #DFE1E6;
    --success-color: #36B37E;
    
    --font-family: 'Inter', sans-serif;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-alt {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* --- Header & Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
    margin-right: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- CTA Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #0041A3; /* Darker blue */
    color: var(--white-color);
}

.cta-button-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: linear-gradient(45deg, rgba(230, 240, 255, 0.8), rgba(255, 250, 230, 0.8));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(0, 82, 204, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(255, 171, 0, 0.1) 0%, transparent 30%);
    animation: slow-pan 20s linear infinite alternate;
}

@keyframes slow-pan {
    from { background-position: 0% 0%; }
    to { background-position: 100% 100%; }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    max-width: 500px;
}
.communication-icons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
    color: var(--text-color-light);
}

.communication-icons i {
    transition: color 0.3s ease;
}

.communication-icons i:hover {
    color: var(--primary-color);
}

/* --- How It Works Section --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 40px;
}

.step {
    flex: 1;
    padding: 20px;
}

.step img {
    height: 120px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    color: var(--text-color-light);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-color-light);
}

/* --- Impact Section --- */
.impact-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.impact-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat span.counter {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat p {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-top: -10px;
}

.testimonial {
    flex: 1.2;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.testimonial cite {
    font-weight: 600;
    font-style: normal;
    color: var(--primary-color);
}
.impact-images {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.impact-images img {
    height: 80px;
    opacity: 0.7;
}

/* --- Pricing Section --- */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
     transform: translateY(-10px);
}

.pricing-card.recommended {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.recommended-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 5px 30px;
    font-weight: 600;
    transform: rotate(45deg);
    font-size: 0.9rem;
}

.pricing-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricing-card h3 {
    font-size: 1.5rem;
}

.pricing-card > p {
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color-light);
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.pricing-card ul li {
    margin-bottom: 10px;
}

.pricing-card ul li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}
.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-color-light);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if answers are longer */
}

/* --- Contact Section --- */
.contact-container {
    display: flex;
    gap: 50px;
    background: var(--white-color);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-form-wrapper {
    flex: 1.5;
}
.contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

#contact-form button {
    width: 100%;
    border: none;
}

#form-success-message {
    background-color: #e6f7ec;
    border: 1px solid var(--success-color);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #0d6a3f;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.contact-info p {
    margin-bottom: 20px;
    color: var(--text-color-light);
}
.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.contact-info ul li i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 25px;
}

/* --- Footer --- */
footer {
    background-color: var(--text-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

footer p {
    color: #A5ADBA;
}

/* --- Animations on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-zoom {
    transform: scale(0.9);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 { font-size: 3rem; }
    .hero-image { margin-top: 40px; }
    .communication-icons { justify-content: center; }

    .steps-container { flex-direction: column; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-container { flex-direction: column; }
    .testimonial { margin-top: 40px; }
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-card { max-width: 450px; margin: 0 auto; }
    .pricing-card.recommended { transform: scale(1); }
    .contact-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .hamburger {
        display: block;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-container { padding: 30px 20px; }
}