/* ============================================================
   MARKETING SOLUTIONS SPECIFIC STYLES
   Site Colors:
   - Primary Green: #229D78
   - Secondary Blue: #1B337B
   - Accent Yellow: #F8B430
   ============================================================ */

.ms-page-root {
    position: relative;
    overflow: hidden;
    background-color: #fafbfc;
}

/* ---------- Aurora Background Blobs ---------- */
.ms-aurora-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.ms-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.08;
    animation: msBlobMove 20s infinite alternate ease-in-out;
}
.ms-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #229D78 0%, transparent 70%);
    top: -100px; right: -50px;
}
.ms-blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1B337B 0%, transparent 70%);
    top: 30%; left: -100px;
    animation-delay: -5s;
}
.ms-blob-3 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, #F8B430 0%, transparent 70%);
    bottom: 10%; right: -50px;
    animation-delay: -10s;
}
@keyframes msBlobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ---------- Hero Section ---------- */
.ms-hero {
    position: relative;
    padding: 160px 0 90px;
    z-index: 2;
}
.ms-hero-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #229D78;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}
.ms-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #1B337B;
    line-height: 1.15;
    margin-bottom: 20px;
}
.ms-hero-title span.highlight {
    color: #229D78;
    position: relative;
    display: inline-block;
}
.ms-hero-desc {
    font-family: var(--font-premium);
    font-size: 16px;
    color: #556987;
    line-height: 1.6;
    margin-bottom: 25px;
}
.ms-hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.ms-hero-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: #1B337B;
}
.ms-hero-bullet-item i {
    color: #229D78;
    font-size: 18px;
}
.ms-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ms-hero-img-backdrop {
    position: absolute;
    width: 105%;
    height: 105%;
    background: linear-gradient(135deg, rgba(34, 157, 120, 0.08) 0%, rgba(27, 51, 123, 0.05) 100%);
    border-radius: 40px;
    transform: rotate(-3deg);
    z-index: 1;
}
.ms-hero-illustration {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(27, 51, 123, 0.15);
    animation: msFloatIllustration 5s infinite alternate ease-in-out;
}
@keyframes msFloatIllustration {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(1deg); }
}

/* ---------- Green Trust Bar ---------- */
.ms-trust-bar {
    position: relative;
    z-index: 3;
    background: linear-gradient(90deg, #229D78 0%, #1c8565 100%);
    padding: 24px 0;
    box-shadow: 0 10px 30px rgba(34, 157, 120, 0.2);
}
.ms-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
}
.ms-trust-icon {
    font-size: 28px;
}
.ms-trust-info {
    display: flex;
    flex-direction: column;
}
.ms-trust-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
}
.ms-trust-rating {
    font-size: 16px;
    font-weight: 800;
}

/* ---------- What We've Done (Stats Block) ---------- */
.ms-done-section {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    background: #fff;
}
.ms-done-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #229D78;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}
.ms-done-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #1B337B;
    letter-spacing: -1px;
}
.ms-done-desc {
    font-family: var(--font-premium);
    font-size: 15px;
    color: #667085;
    line-height: 1.6;
}
.ms-stat-box {
    background: #1B337B;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(27, 51, 123, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.ms-stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 51, 123, 0.25);
    background: linear-gradient(135deg, #1B337B 0%, #203c90 100%);
    border-color: rgba(34, 157, 120, 0.3);
}
.ms-stat-box-icon {
    font-size: 32px;
    color: #F8B430;
    margin-bottom: 12px;
}
.ms-stat-box-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 6px;
}
.ms-stat-box-label {
    font-family: var(--font-premium);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Feature Content Sections ---------- */
.ms-feature-sec {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}
.ms-feature-sec.alt {
    background-color: #f7f9fc;
}
.ms-sec-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: #1B337B;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.ms-sec-desc {
    font-family: var(--font-premium);
    font-size: 16px;
    color: #556987;
    line-height: 1.6;
    margin-bottom: 25px;
}
.ms-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ms-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-premium);
    font-size: 14.5px;
    color: #333f51;
    line-height: 1.5;
}
.ms-check-item i {
    color: #229D78;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.ms-sec-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.ms-sec-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ms-sec-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}
.ms-sec-img:hover {
    transform: scale(1.02);
}
.ms-img-label {
    position: absolute;
    bottom: -15px;
    background: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    font-family: var(--font-heading);
    font-weight: 800;
    color: #1B337B;
    border: 1px solid #f1f5f9;
    font-size: 14px;
}

/* ---------- Clients Section ---------- */
.ms-clients-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    background: #1B337B;
    text-align: center;
}
.ms-clients-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 40px;
}
.ms-client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
    justify-content: center;
}
.ms-client-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.ms-client-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(248, 180, 48, 0.25);
    border-color: #F8B430;
}
.ms-client-logo {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}
.ms-client-card:hover .ms-client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ---------- Testimonials (Real Stories) ---------- */
.ms-testimonial-sec {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    background-color: #fff;
}
.ms-testi-wrapper {
    background: #fafbfc;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}
.ms-testi-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ms-testi-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1.5px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}
.ms-testi-tab:hover,
.ms-testi-tab.active {
    border-color: #229D78;
    background: rgba(34, 157, 120, 0.03);
    box-shadow: 0 10px 20px rgba(34, 157, 120, 0.05);
}
.ms-testi-tab.active {
    border-width: 2px;
}
.ms-testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1B337B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
}
.ms-testi-tab-info {
    display: flex;
    flex-direction: column;
}
.ms-testi-tab-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #1B337B;
}
.ms-testi-tab-role {
    font-family: var(--font-premium);
    font-size: 12px;
    color: #777;
}

.ms-testi-content-panel {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ms-testi-stars {
    color: #F8B430;
    font-size: 20px;
    margin-bottom: 15px;
}
.ms-testi-quote {
    font-family: var(--font-premium);
    font-size: 1.25rem;
    font-weight: 600;
    color: #1B337B;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}
.ms-testi-text {
    font-family: var(--font-premium);
    font-size: 15px;
    color: #556987;
    line-height: 1.7;
}

/* ---------- Website Designed Instead CTA ---------- */
.ms-cta-strip {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1B337B 0%, #15275d 100%);
    padding: 70px 0;
    text-align: center;
    color: #fff;
}
.ms-cta-strip-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.ms-cta-strip-desc {
    font-family: var(--font-premium);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* ---------- FAQs and Form Section ---------- */
.ms-faq-sec {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    background-color: #fafbfc;
}
.ms-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ms-faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.ms-faq-item.active {
    border-color: #229D78;
    box-shadow: 0 10px 25px rgba(34, 157, 120, 0.05);
}
.ms-faq-header {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15.5px;
    color: #1B337B;
    user-select: none;
    transition: color 0.3s ease;
}
.ms-faq-header:hover {
    color: #229D78;
}
.ms-faq-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.ms-faq-item.active .ms-faq-icon {
    transform: rotate(180deg);
    color: #229D78;
}
.ms-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-faq-content {
    padding: 0 28px 24px;
    font-family: var(--font-premium);
    font-size: 14px;
    color: #556987;
    line-height: 1.6;
}

/* Contact Form Container */
.ms-form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}
.ms-form-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: #1B337B;
    margin-bottom: 25px;
}
.ms-form-group {
    margin-bottom: 20px;
}
.ms-form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: #1B337B;
    margin-bottom: 8px;
    display: block;
}
.ms-form-input {
    width: 100%;
    background: #fafbfc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    font-family: var(--font-premium);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}
.ms-form-input:focus {
    border-color: #229D78;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(34, 157, 120, 0.1);
}

/* ---------- Delays ---------- */
.ms-delay-1 { transition-delay: 0.1s; }
.ms-delay-2 { transition-delay: 0.2s; }
.ms-delay-3 { transition-delay: 0.3s; }
.ms-delay-4 { transition-delay: 0.4s; }
.pkg-delay-2 { transition-delay: 0.15s; }
.pkg-delay-4 { transition-delay: 0.3s; }
.pkg-delay-6 { transition-delay: 0.5s; }

/* Decoupled structures for inline styles */
.ms-z-index-2 {
    position: relative;
    z-index: 2;
}
.ms-btn-outline-blue {
    background: transparent !important;
    border: 2px solid #1B337B !important;
    color: #1B337B !important;
}
.ms-btn-outline-blue:hover {
    background: #1B337B !important;
    color: #fff !important;
}
.ms-btn-green {
    background: #229D78 !important;
    border-color: #229D78 !important;
}
.ms-btn-green:hover {
    background: #1a7e60 !important;
    border-color: #1a7e60 !important;
}
.ms-btn-green-center {
    background: #229D78 !important;
    border-color: #229D78 !important;
    justify-content: center !important;
}
.ms-btn-green-center:hover {
    background: #1a7e60 !important;
    border-color: #1a7e60 !important;
}

/* Toast Notification Styles */
#ms-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #1B337B;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 16px 28px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(27, 51, 123, 0.25);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 360px;
    border-left: 4px solid #229D78;
    pointer-events: none;
}
#ms-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ms-hero { padding: 130px 0 60px; }
    .ms-hero-title { font-size: 2.8rem; }
    .ms-done-title, .ms-sec-title, .ms-cta-strip-title { font-size: 2rem; }
    .ms-testi-wrapper { padding: 30px; }
    .ms-testi-nav { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
    .ms-testi-tab { flex-shrink: 0; min-width: 220px; }
    .ms-form-wrapper { padding: 30px; }
    .ms-client-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; }
    .ms-client-card { min-height: 70px; padding: 10px 15px; }
    .ms-client-logo { max-height: 35px; }
}
@media (max-width: 575.98px) {
    .ms-hero-title { font-size: 2.2rem; }
    .ms-hero-bullet-item { font-size: 14px; }
    .ms-stat-box-num { font-size: 2.2rem; }
    .ms-form-wrapper { padding: 25px 20px; }
    .ms-sec-buttons { flex-direction: column; width: 100%; }
    .ms-sec-buttons a { width: 100%; text-align: center; justify-content: center; }
}
