* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --rotary-blue: #00457C;
    --rotary-gold: #F7A81B;
    --rotaract-cranberry: #E0457B;
    --sky-blue: #009FDA;
    --turquoise: #00A8B0;
    --violet: #7A2175;
    --orange: #EF7D00;
    --ink: #1f2a44;
    --muted: #5e6b84;
    --bg-soft: #f6f7fb;
    --line: rgba(0,69,124,.12);
    --brand-grad: linear-gradient(135deg, var(--rotary-blue) 0%, var(--rotaract-cranberry) 100%);
    --brand-grad-soft: linear-gradient(135deg, rgba(0,69,124,.06) 0%, rgba(224,69,123,.06) 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    overflow-x: hidden;
    background: #f7f8fb;
}

.page-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0,69,124,.05);
    min-height: 100vh;
}

a { color: inherit; }

.hero {
    background: var(--brand-grad);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 22px 20px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero img {
    width: 100%;
    height: auto;
    max-width: min(80%, 600px);
    margin: 0 auto 24px;
    display: block;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-primary {
    display: inline-block;
    background: #ffffff;
    color: var(--rotary-blue);
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    transition: all 0.25s ease;
    box-shadow: 0 12px 34px rgba(0,0,0,0.20);
    position: relative;
    z-index: 1;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.28);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: clamp(50px, 10vw, 80px) 20px; }
.section-soft { background: var(--bg-soft); }

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: clamp(35px, 6vw, 55px);
    color: var(--ink);
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    background: var(--brand-grad);
    margin: 18px auto 0;
    border-radius: 999px;
}

.section-intro {
    text-align:center;
    max-width:720px;
    margin:0 auto 36px;
    color:var(--muted);
    font-size:clamp(0.95rem,2vw,1.1rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #ffffff;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
    transition: all 0.25s ease;
    border: 1px solid var(--line);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0,69,124,0.14);
    border-color: rgba(0,69,124,.28);
}

.feature-icon {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    margin-bottom: 10px;
    color: var(--rotary-blue);
    font-weight: 800;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.card-link-wrap { margin-top: 14px; }
.card-link-wrap a {
    color: var(--rotary-blue);
    font-weight: 800;
    text-decoration: none;
}

.card-link-wrap a:hover { text-decoration: underline; }

.why-section { background: var(--brand-grad-soft); }

.why-content {
    background: #ffffff;
    padding: clamp(28px, 5vw, 46px);
    border-radius: 15px;
    box-shadow: 0 14px 50px rgba(17, 24, 39, 0.10);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.85;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid var(--line);
}

.why-content p + p { margin-top: 18px; }

.steps-container {
    max-width: 820px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(24px, 4vw, 34px);
    position: relative;
}

.step-number {
    background: var(--brand-grad);
    color: #ffffff;
    width: clamp(44px, 7vw, 52px);
    height: clamp(44px, 7vw, 52px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.25rem);
    flex-shrink: 0;
    margin-right: clamp(16px, 3vw, 22px);
    box-shadow: 0 10px 22px rgba(0,69,124,0.22);
}

.step-content h3 {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 800;
}

.step-content p {
    color: var(--muted);
    line-height: 1.65;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.info-box {
    background: rgba(0,69,124,.06);
    border-left: 5px solid var(--rotary-blue);
    padding: clamp(18px, 3vw, 22px);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 900px;
    color: var(--ink);
}

.info-box strong {
    color: var(--rotary-blue);
    display: block;
    margin-bottom: 8px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 900;
}

.cta-section {
    background: var(--brand-grad);
    color: #ffffff;
    text-align: center;
    padding: clamp(50px, 10vw, 80px) 20px;
    border-radius: 10px;
    margin: 0 20px 20px;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.cta-section > .container > p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

.btn {
    padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 32px);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.25s ease;
    display: inline-block;
    font-size: clamp(0.9rem, 1.8vw, 1.02rem);
    border: 2px solid transparent;
    text-align: center;
}

.btn-white {
    background: #ffffff;
    color: var(--rotary-blue);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.26);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.92);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--rotary-blue);
    transform: translateY(-2px);
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.target-item {
    background: #ffffff;
    color: var(--ink);
    padding: clamp(18px, 3vw, 22px);
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    border: 1px solid var(--line);
    transition: all 0.25s ease;
}

.target-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(224,69,123,0.12);
    border-color: rgba(224,69,123,.25);
}

.page-shell {
    max-width: 1200px !important;
    width: calc(100% - 40px) !important;
    margin: 24px auto !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .page-shell {
        width: calc(100% - 20px) !important;
        margin: 10px auto !important;
        border-radius: 10px !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .hero::before {
        width: 300px;
        height: 300px;
        right: -30%;
        top: -20%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }

    .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px;
        margin: 8px;
    }

    .cta-section { margin: 8px; }

    .section { padding: 40px 16px; }
    .container { padding: 0 16px; }
    .feature-card { padding: 20px; }
    .why-content { padding: 24px; }
}

@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .target-item:hover,
    .btn-white:hover,
    .btn-outline:hover,
    .cta-primary:hover { transform: none; }

    .feature-card:active,
    .target-item:active { transform: translateY(-6px); }

    .btn:active,
    .cta-primary:active { transform: translateY(-2px); }
}

@media (min-width: 1024px) {
    .section {
        padding-left: 48px;
        padding-right: 48px;
    }

    .hero,
    .cta-section {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 640px) {
    body { background: #ffffff; }
    .page-shell { box-shadow: none; }
    .hero { margin: 8px; }
    .cta-section { margin: 0 8px 8px; }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
