/* ==========================================================================
   Home Modern Styling - UP Agenzia Web Ferrara
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens & Utilities
   -------------------------------------------------------------------------- */
:root {
    --up-primary: #ff5722;
    --up-primary-hover: #f44336;
    --up-primary-light: rgba(255, 87, 34, 0.08);
    --up-primary-glow: rgba(255, 87, 34, 0.25);
    --up-dark: #120a21;
    --up-dark-card: #1b122e;
    --up-text-main: #1e293b;
    --up-text-muted: #64748b;
    --up-text-light: #94a3b8;
    --up-bg-light: #f8fafc;
    --up-border-color: #e2e8f0;
    --up-border-light: rgba(226, 232, 240, 0.8);
    --up-shadow-sm: 0 4px 12px rgba(18, 10, 33, 0.04);
    --up-shadow-md: 0 10px 30px rgba(18, 10, 33, 0.08);
    --up-shadow-lg: 0 20px 45px rgba(18, 10, 33, 0.12);
    --up-radius-sm: 10px;
    --up-radius-md: 16px;
    --up-radius-lg: 24px;
    --up-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-pill-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--up-primary-light);
    border: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 50px;
    color: var(--up-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.home-section-header {
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
}

.home-section-header.text-left-header {
    text-align: left;
    margin-left: 0;
}

.home-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--up-dark);
    margin-bottom: 14px;
}

.home-section-header p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--up-text-muted);
}

/* --------------------------------------------------------------------------
   1. Modern Hero Section
   -------------------------------------------------------------------------- */
.home-hero-modern {
    position: relative;
    padding: 130px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 60%, #f8fafc 100%);
    overflow: hidden;
}

.home-hero-modern::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.07) 0%, rgba(255, 87, 34, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-hero-modern .container {
    position: relative;
    z-index: 1;
}

.hero-content-col {
    padding-right: 30px;
}

.hero-main-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.18;
    color: var(--up-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-main-title .highlight-gradient {
    color: var(--up-primary);
    background: linear-gradient(135deg, #ff5722 0%, #ff8a65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--up-text-muted);
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--up-primary);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px var(--up-primary-glow);
    transition: var(--up-transition);
}

.hero-btn-primary:hover {
    background: var(--up-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--up-primary-glow);
    color: #ffffff !important;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #ffffff;
    color: var(--up-dark) !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid var(--up-border-color);
    transition: var(--up-transition);
}

.hero-btn-secondary:hover {
    border-color: var(--up-primary);
    color: var(--up-primary) !important;
    transform: translateY(-2px);
    background: #fff8f5;
}

/* Trust / Quick Stats Strip */
.hero-stats-inline {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--up-border-color);
    flex-wrap: wrap;
}

.hero-stat-box {
    display: flex;
    flex-direction: column;
}

.hero-stat-val {
    font-size: 26px;
    font-weight: 800;
    color: var(--up-dark);
    line-height: 1.1;
    margin-bottom: 3px;
}

.hero-stat-val span {
    color: var(--up-primary);
}

.hero-stat-lbl {
    font-size: 12px;
    color: var(--up-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual Showcase */
.hero-visual-card {
    position: relative;
    border-radius: var(--up-radius-lg);
    background: #ffffff;
    padding: 10px;
    box-shadow: var(--up-shadow-lg);
    border: 1px solid var(--up-border-color);
}

.hero-visual-card img {
    width: 100%;
    height: auto;
    border-radius: var(--up-radius-md);
    display: block;
    object-fit: cover;
}

.hero-floating-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--up-border-color);
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: var(--up-shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatUpDown 4s ease-in-out infinite alternate;
}

.hero-floating-pill.pill-top-right {
    top: 25px;
    right: -20px;
}

.hero-floating-pill.pill-bottom-left {
    bottom: 25px;
    left: -20px;
    animation-delay: 2s;
}

.hero-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff3ed;
    color: var(--up-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hero-pill-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--up-dark);
}

.hero-pill-text span {
    display: block;
    font-size: 11px;
    color: var(--up-text-muted);
    font-weight: 600;
}

@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   2. Problems Solved / Value Proposition
   -------------------------------------------------------------------------- */
.home-problems-section {
    padding: 90px 0;
    background: #ffffff;
}

.problem-card-modern {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-lg);
    padding: 35px 30px;
    height: 100%;
    transition: var(--up-transition);
    position: relative;
    overflow: hidden;
}

.problem-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--up-border-color);
    transition: var(--up-transition);
}

.problem-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--up-shadow-md);
    border-color: #cbd5e1;
}

.problem-card-modern:hover::before {
    background: var(--up-primary);
}

.problem-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--up-border-color);
    color: var(--up-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
    transition: var(--up-transition);
}

.problem-card-modern:hover .problem-icon-wrap {
    background: var(--up-primary);
    color: #ffffff;
    border-color: var(--up-primary);
}

.problem-card-modern h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--up-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.problem-card-modern p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--up-text-muted);
    margin-bottom: 18px;
}

.problem-solution-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 12px;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   3. Modern Services Grid
   -------------------------------------------------------------------------- */
.home-services-modern {
    padding: 90px 0 100px;
    background: var(--up-bg-light);
}

.service-card-modern {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-lg);
    padding: 35px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--up-transition);
    position: relative;
    margin-bottom: 30px;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--up-shadow-md);
    border-color: rgba(255, 87, 34, 0.3);
}

.service-card-top {
    margin-bottom: 20px;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--up-radius-md);
    background: #fff8f5;
    border: 1px solid rgba(255, 87, 34, 0.2);
    color: var(--up-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--up-transition);
}

.service-card-modern:hover .service-icon-box {
    background: var(--up-primary);
    color: #ffffff;
}

.service-card-modern h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--up-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-modern h3 a {
    color: var(--up-dark);
    transition: var(--up-transition);
}

.service-card-modern h3 a:hover {
    color: var(--up-primary);
}

.service-card-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--up-text-muted);
    margin-bottom: 20px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features-list li {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.service-features-list li i {
    color: var(--up-primary);
    font-size: 12px;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.service-learn-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--up-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--up-transition);
}

.service-learn-more:hover {
    color: var(--up-primary);
    gap: 12px;
}

.service-tag-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--up-text-muted);
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   4. Featured Projects / Portfolio Showcase
   -------------------------------------------------------------------------- */
.home-portfolio-showcase {
    padding: 90px 0 100px;
    background: #ffffff;
}

.portfolio-card-home {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--up-transition);
    margin-bottom: 30px;
}

.portfolio-card-home:hover {
    transform: translateY(-6px);
    box-shadow: var(--up-shadow-md);
    border-color: #cbd5e1;
}

.portfolio-thumb-home {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f1f5f9;
}

.portfolio-thumb-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-home:hover .portfolio-thumb-home img {
    transform: scale(1.05);
}

.portfolio-badge-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 10, 33, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

.portfolio-metric-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

.portfolio-body-home {
    padding: 24px;
}

.portfolio-cat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--up-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.portfolio-card-home h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--up-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.portfolio-card-home h3 a {
    color: var(--up-dark);
    transition: var(--up-transition);
}

.portfolio-card-home h3 a:hover {
    color: var(--up-primary);
}

.portfolio-card-home p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--up-text-muted);
    margin-bottom: 16px;
}

.portfolio-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tech-pill {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

.portfolio-footer-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.portfolio-footer-home a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--up-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--up-transition);
}

.portfolio-footer-home a:hover {
    color: var(--up-primary);
    gap: 10px;
}

/* --------------------------------------------------------------------------
   5. Work Process / Metodo di Lavoro
   -------------------------------------------------------------------------- */
.home-process-section {
    padding: 90px 0;
    background: var(--up-bg-light);
}

.process-step-card {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-lg);
    padding: 35px 28px;
    height: 100%;
    position: relative;
    transition: var(--up-transition);
    margin-bottom: 30px;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--up-shadow-md);
    border-color: rgba(255, 87, 34, 0.3);
}

.process-step-num {
    font-size: 32px;
    font-weight: 900;
    color: rgba(255, 87, 34, 0.15);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--up-transition);
}

.process-step-card:hover .process-step-num {
    color: var(--up-primary);
}

.process-step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--up-dark);
    margin-bottom: 12px;
}

.process-step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--up-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. Why Choose UP (Differenziatori)
   -------------------------------------------------------------------------- */
.home-why-section {
    padding: 90px 0;
    background: #ffffff;
}

.why-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #fff8f5;
    border: 1px solid rgba(255, 87, 34, 0.2);
    color: var(--up-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.why-feature-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--up-dark);
    margin-bottom: 6px;
}

.why-feature-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--up-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. Modern Interactive FAQ Accordion
   -------------------------------------------------------------------------- */
.home-faq-section {
    padding: 90px 0;
    background: var(--up-bg-light);
}

.modern-faq-item {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--up-transition);
}

.modern-faq-item.active {
    border-color: rgba(255, 87, 34, 0.4);
    box-shadow: var(--up-shadow-sm);
}

.modern-faq-trigger {
    width: 100%;
    text-align: left;
    padding: 22px 26px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--up-dark);
    cursor: pointer;
    transition: var(--up-transition);
}

.modern-faq-trigger:hover {
    color: var(--up-primary);
}

.modern-faq-trigger i {
    font-size: 14px;
    color: var(--up-text-muted);
    transition: transform 0.3s ease;
}

.modern-faq-item.active .modern-faq-trigger i {
    transform: rotate(180deg);
    color: var(--up-primary);
}

.modern-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease;
    padding: 0 26px;
}

.modern-faq-item.active .modern-faq-body {
    max-height: 350px;
    padding: 0 26px 24px;
}

.modern-faq-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--up-text-muted);
    margin: 0;
}

.modern-faq-body a {
    color: var(--up-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Modern Blog & Articles Cards
   -------------------------------------------------------------------------- */
.home-blog-modern {
    padding: 90px 0;
    background: #ffffff;
}

.home-blog-card {
    background: #ffffff;
    border: 1px solid var(--up-border-color);
    border-radius: var(--up-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--up-transition);
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--up-shadow-md);
    border-color: #cbd5e1;
}

.home-blog-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f1f5f9;
}

.home-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-thumb img {
    transform: scale(1.05);
}

.home-blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(18, 10, 33, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.home-blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-blog-card h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--up-dark);
    margin-bottom: 12px;
}

.home-blog-card h3 a {
    color: var(--up-dark);
    transition: var(--up-transition);
}

.home-blog-card h3 a:hover {
    color: var(--up-primary);
}

.home-blog-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--up-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    transition: var(--up-transition);
}

.home-blog-link:hover {
    gap: 10px;
}

/* --------------------------------------------------------------------------
   9. Upgraded Newsletter Widget
   -------------------------------------------------------------------------- */
.home-newsletter-widget {
    padding: 80px 0;
    background: var(--up-bg-light);
}

.newsletter-card-inner {
    background: linear-gradient(135deg, #120a21 0%, #1e1335 100%);
    border-radius: var(--up-radius-lg);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--up-shadow-lg);
}

.newsletter-card-inner::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.18) 0%, rgba(255, 87, 34, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-title-col h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.newsletter-title-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.newsletter-form-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-form-col form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-input-field {
    flex: 1;
    min-width: 250px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: var(--up-transition);
}

.newsletter-input-field::placeholder {
    color: #94a3b8;
}

.newsletter-input-field:focus {
    border-color: var(--up-primary);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.3);
}

.newsletter-btn-submit {
    padding: 14px 30px;
    background: var(--up-primary);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--up-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn-submit:hover {
    background: var(--up-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--up-primary-glow);
}

.newsletter-privacy-note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.newsletter-feedback {
    display: none;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    animation: fadeInNewsletter 0.3s ease;
}

.newsletter-feedback.success {
    display: block !important;
    background: #e8fff1 !important;
    color: #0f5132 !important;
    border: 1px solid #c3e6cb !important;
}

.newsletter-feedback.error {
    display: block !important;
    background: #fff0f0 !important;
    color: #842029 !important;
    border: 1px solid #f5c2c7 !important;
}

@keyframes fadeInNewsletter {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   10. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .home-hero-modern {
        padding: 100px 0 60px;
    }
    .hero-content-col {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-stats-inline {
        justify-content: center;
        gap: 20px;
    }
    .hero-main-title {
        font-size: 38px;
    }
    .hero-floating-pill.pill-top-right {
        right: 10px;
    }
    .hero-floating-pill.pill-bottom-left {
        left: 10px;
    }
    .newsletter-card-inner {
        padding: 40px 30px;
    }
    .newsletter-title-col {
        margin-bottom: 25px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 30px;
    }
    .home-section-header h2 {
        font-size: 28px;
    }
    .newsletter-title-col h2 {
        font-size: 26px;
    }
    .newsletter-form-col form {
        flex-direction: column;
    }
    .newsletter-btn-submit {
        width: 100%;
        justify-content: center;
    }
    .hero-floating-pill {
        display: none;
    }
}
