/* ==========================================
   SAV CAPITAL - PARTNER PAGE STYLES
   Color Scheme: Green #3CB54A, Navy #1E2A4A
   ========================================== */

:root {
    /* Primary Colors */
    --sav-green: #3CB54A;
    --sav-green-light: #e8f5e9;
    --sav-green-dark: #2d8a38;
    --sav-navy: #1E2A4A;
    --sav-navy-light: #3a4a6b;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px -2px rgba(30, 42, 74, 0.08);
    --shadow-md: 0 8px 24px -4px rgba(30, 42, 74, 0.12);
    --shadow-lg: 0 16px 48px -8px rgba(30, 42, 74, 0.15);
    --shadow-green: 0 8px 32px -4px rgba(60, 181, 74, 0.3);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #3CB54A 0%, #2d8a38 100%);
    --gradient-navy: linear-gradient(135deg, #1E2A4A 0%, #0f172a 100%);
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--sav-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--sav-green-dark);
    box-shadow: var(--shadow-green);
}

.btn-secondary {
    background: var(--sav-navy);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--sav-navy-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: linear-gradient(135deg, #1e3a8a, #1e3a8a, #3b82f6);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.hero .container {
    position: relative;
    z-index: 10;
}
.client-feature h4
 {
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.hero-stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.hero-stat p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
}

.hero-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-card-header h3 {
    font-size: 1.5rem;
    color: var(--sav-navy);
    margin-bottom: 0.5rem;
}

.hero-card-header p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.hero-card-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--sav-green-light);
    border-radius: 0.75rem;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    background: var(--sav-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.benefit-text {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ==========================================
   SECTION STYLES
   ========================================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--sav-green-light);
    color: var(--sav-green);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--sav-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   OFFERINGS SECTION
   ========================================== */

.offerings {
    padding: 5rem 0;
    background: var(--gray-50);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.offering-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--gray-100);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.offering-icon {
    width: 56px;
    height: 56px;
    background: var(--sav-green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.offering-icon svg {
    width: 28px;
    height: 28px;
    color: var(--sav-green);
}

.offering-card h3 {
    font-size: 1.125rem;
    color: var(--sav-navy);
    margin-bottom: 0.5rem;
}

.offering-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products {
    padding: 5rem 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.product-card:hover {
    border-color: var(--sav-green);
    transform: translateY(-4px);
}

.product-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: var(--sav-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 36px;
    height: 36px;
    color: var(--sav-green);
}

.product-card h3 {
    font-size: 1.125rem;
    color: var(--sav-navy);
}

/* ==========================================
   CLIENT OFFERINGS SECTION
   ========================================== */

.client-offerings {
    padding: 5rem 0;
    background: var(--gradient-navy);
    color: var(--white);
}

.client-offerings .section-title {
    color: var(--white);
}

.client-offerings .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.client-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.client-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--sav-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.client-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.client-feature p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   WHO CAN JOIN SECTION
   ========================================== */

.who-can-join {
    padding: 5rem 0;
    background: var(--white);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.who-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 1rem;
    transition: all 0.2s;
}

.who-item:hover {
    background: var(--sav-green-light);
}

.who-icon {
    width: 48px;
    height: 48px;
    background: var(--sav-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.who-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.who-item span {
    font-weight: 500;
    color: var(--gray-700);
}

/* ==========================================
   MARKET OPPORTUNITY SECTION
   ========================================== */

.market-opportunity {
    padding: 5rem 0;
    background: var(--sav-green-light);
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.market-stat {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.market-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sav-green);
    margin-bottom: 0.5rem;
}

.market-stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.market-highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border-left: 4px solid var(--sav-green);
}

.market-highlight p {
    font-size: 1.125rem;
    color: var(--gray-700);
}

.market-highlight strong {
    color: var(--sav-green);
}

/* ==========================================
   HOW TO JOIN SECTION
   ========================================== */

.how-to-join {
    padding: 5rem 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--sav-green);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-size: 1.125rem;
    color: var(--sav-navy);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.step-arrow {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sav-green);
    font-size: 2rem;
    font-weight: 700;
}

.step-card:last-child .step-arrow {
    display: none;
}

/* ==========================================
   CONTACT FORM SECTION
   ========================================== */

.contact-form-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
}

.contact-form-section .section-title {
    color: var(--white);
}

.contact-form-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sav-green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    text-align: center;
}

.form-submit .btn {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
    text-align: center;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media only screen and (max-width: 991px) {
    .hero-content {
        padding: 20px;
    }
}
@media (min-width: 1024px) {
    .main-content {
        padding-top: 160px;
    }
}
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    padding-top: 135px;
    }
    h2.section-title
    {
        color: #012665;
        font-size: 36px;
        line-height: 42px;
    }
    .market-stat-value {
        font-size: 1.5rem;
    }
    .offerings,.hero-visual,.products,.client-offerings,.who-can-join,.market-opportunity,.how-to-join,.contact-form-section  {
        padding: 15px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ===== Benefits 3x2 Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover {
  box-shadow: 0 6px 24px rgba(26,58,122,0.12);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4caf50;
  border-radius: 10px;
  color: #4CAF50;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a7a;
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== Two-Column: Documents + NISM ===== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3a7a;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}
.box-title svg { color: #1a3a7a; flex-shrink: 0; }

/* Document list */
.doc-list {
  list-style: none;
}
.doc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}
.doc-list li:last-child { border-bottom: none; }

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Link list */
.link-list {
  list-style: none;
}
.link-list li {
  border-bottom: 1px solid #f1f5f9;
}
.link-list li:last-child { border-bottom: none; }

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.link-list a:hover {
  background: rgba(26,58,122,0.05);
  color: #1a3a7a;
}

.ext {
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.15s;
}
.link-list a:hover .ext { color: #1a3a7a; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero { padding: 40px 20px; }
}