/* Our Role Page Styles */
@media (max-width: 768px) {
  .page-hero {
    min-height: 300px;
    height: 40vh;
    background-attachment: scroll;
    /* Disable parallax on mobile for better performance */
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .page-hero .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 250px;
    height: 35vh;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
/* Section Subtitle */
.section-subtitle {
    color: var(--hero-gold, #c49a18);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Gold Divider */
.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--hero-gold, #c49a18);
    margin-bottom: 25px;
}

.gold-divider.center {
    margin: 0 auto 40px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Role Intro Section */
.role-intro {
    padding: 40px 8%;
    background: #fff;
}

.role-intro .container {
    max-width: 100%;
}

.role-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.role-intro-content .intro-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.role-intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Stats Section */
.stats-section {
    padding: 60px 8%;
    background: var(--primary-color, #5B0000);
}

.stats-section .container {
    max-width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--hero-gold, #c49a18);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-item h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Berne Union Section */
.berne-section {
    padding: 60px 8%;
    margin-top: 60px;
    background: var(--hero-gold, #c49a18);
}

.berne-section .container {
    max-width: 100%;
}

.berne-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.berne-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.berne-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Credit Section */
.credit-section {
    padding: 80px 8%;
    /* background: #fff; */
}

.credit-section .container {
    max-width: 100%;
}

.credit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.credit-content .quote-icon {
    width: 40px;
    height: 40px;
    color: var(--hero-gold, #c49a18);
    margin-bottom: 20px;
}

.credit-content .quote-icon svg {
    width: 100%;
    height: 100%;
}

.credit-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.credit-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.credit-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Cash Flow Section */
.cashflow-section {
    padding: 60px 8%;
    background: #fff;
}

.cashflow-section .container {
    max-width: 100%;
}

.cashflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 992px) {
    .cashflow-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cashflow-image {
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .cashflow-section {
        padding: 40px 5%;
    }
    .cashflow-grid {
        gap: 20px;
    }
    .cashflow-content p {
        font-size: 0.97rem;
    }
}

@media (max-width: 480px) {
    .cashflow-section {
        padding: 30px 3%;
    }
    .cashflow-content p {
        font-size: 0.93rem;
    }
    .cashflow-image img {
        max-width: 100%;
        height: auto;
    }
}

.cashflow-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.cashflow-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Risks Section Accordion Styling - Matching CreditInsurance */
.risks-section {
    padding: 40px 8%;
    /* background: #ffffff; */
}

.risks-section .container {
    max-width: 100%;
}

.accordion-wrapper {
    max-width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
    border: none;
    outline: none;
    padding: 20px 28px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.accordion-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(to bottom, #c49a18 0%, #d4a81e 100%);
    transition: width 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(to right, #f0f0f0 0%, #f8f8f8 100%);
    color: #580000;
    padding-left: 32px;
}

.accordion-header:hover::before {
    width: 4px;
}

.accordion-header.active {
    background: linear-gradient(to right, #580000 0%, #6b0000 100%);
    color: #fff;
    padding-left: 32px;
}

.accordion-header.active::before {
    width: 4px;
    background: linear-gradient(to bottom, #c49a18 0%, #d4a81e 100%);
}

.accordion-icon {
    font-size: 24px;
    font-weight: 300;
    transition: all 0.3s ease;
    color: #c49a18;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(196, 154, 24, 0.1);
    flex-shrink: 0;
}

.accordion-header:hover .accordion-icon {
    background: rgba(196, 154, 24, 0.2);
    transform: scale(1.1);
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.accordion-content.open {
    max-height: 5000px;
}

.content-inner {
    padding: 35px 30px;
    color: #444;
    line-height: 1.8;
    border-top: 1px solid #f0f0f0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    position: relative;
}

.content-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #c49a18 0%, #d4a81e 50%, #c49a18 100%);
    opacity: 0.3;
}

.content-inner p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 15px;
    color: #555;
    letter-spacing: 0.2px;
}

.content-inner p:last-child {
    margin-bottom: 0;
}

.content-inner h4 {
    color: var(--primary-color);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 30px;
    border-left: 5px solid #c49a18;
    padding: 12px 0 12px 20px;
    background: linear-gradient(
        to right,
        rgba(196, 154, 24, 0.08) 0%,
        transparent 100%
    );
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.content-inner h4:first-of-type {
    margin-top: 15px;
}

.content-inner h4:hover {
    background: linear-gradient(
        to right,
        rgba(196, 154, 24, 0.12) 0%,
        transparent 100%
    );
    transform: translateX(3px);
}

.content-inner strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
    .risks-section {
        padding: 60px 5%;
    }
    
    .accordion-header {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .accordion-header:hover,
    .accordion-header.active {
        padding-left: 24px;
    }
    
    .content-inner {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .risks-section {
        padding: 50px 3%;
    }
    
    .accordion-header {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .content-inner {
        padding: 20px 15px;
    }
    
    .content-inner h4 {
        font-size: 16px;
        padding: 10px 0 10px 15px;
    }
}
/* Myth Section */
.myth-section {
    padding: 30px 8%;
    background: #fff;
}

.myth-section .container {
    max-width: 1400px;
}

.myth-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.myth-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myth-image img {
    width: 100%;
    max-width: 540px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.myth-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.myth-content h3 {
    color: var(--primary-color, #5B0000);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: none;
}

.myth-content .gold-divider {
    width: 60px;
    height: 3px;
    background: var(--hero-gold, #c49a18);
    margin-bottom: 25px;
}

.myth-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.myth-highlight {
    background: rgba(91, 0, 0, 0.05);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.myth-highlight p {
    margin-bottom: 10px;
}

.myth-truth {
    color: var(--primary-color, #5B0000) !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

@media (max-width: 992px) {
    .myth-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .myth-image {
        margin: 0 auto 30px auto;
    }
    .myth-content {
        text-align: center;
    }
    .myth-content h3 {
        font-size: 1.4rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credit-grid {
        grid-template-columns: 1fr;
    }
    
    .credit-image {
        order: -1;
    }
    
    .risks-grid {
        grid-template-columns: 1fr;
    }
    
    .role-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .role-intro-image {
        order: -1;
    }
    
    .cashflow-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .role-intro {
        padding: 60px 5%;
    }
    
    .role-intro .intro-text {
        font-size: 1rem;
    }
    
    .stats-section,
    .berne-section,
    .credit-section,
    .cashflow-section,
    .risks-section,
    .myth-section {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .berne-content h3 {
        font-size: 1.4rem;
    }
    
    .credit-content h2 {
        font-size: 1.5rem;
    }
    
    .cashflow-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .cashflow-icon-box {
        margin: 0 auto;
    }
    
    .myth-card {
        flex-direction: column;
        padding: 30px;
    }
    
    .myth-icon {
        margin: 0 auto;
    }
    
    .myth-content {
        text-align: center;
    }
    
    .myth-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .risk-card {
        padding: 30px 20px;
    }
    
    .myth-highlight {
        padding: 15px;
    }
}

