/* Account Types Page Specific Styles */

/* Account Cards */
.account-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
    transform: translateY(-8px);
}

/* Featured card (GO Plus+) styling */
.account-card.border-go-green {
    position: relative;
}

.account-card.border-go-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--go-green);
    border-radius: 1rem 1rem 0 0;
}

/* Tab Buttons */
.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--go-green);
    color: white;
    border-color: var(--go-green);
}

.tab-btn:not(.active):hover {
    background-color: #f3f4f6;
}

/* Trust Banner Section */
.trust-banner-section {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .account-card {
        margin-bottom: 1rem;
    }
    
    .awards-scroll-track {
        animation-duration: 40s;
    }
}

/* Account icon styling */
.account-card img {
    filter: none;
    transition: transform 0.3s ease;
}

.account-card:hover img {
    transform: scale(1.1);
}

/* Check icons */
.account-card .fa-check {
    font-size: 0.875rem;
}

/* Button hover effects */
.account-card a {
    transition: all 0.3s ease;
}

/* Hero section gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.9) 100%);
}

/* Trustpilot section */
.trustpilot-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trustpilot-rating .star {
    color: #00b67a;
}

/* Excellence badge styling */
.excellence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #00b67a;
    color: white;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Islamic account highlight */
.islamic-account-note {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid var(--go-green);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animation for cards on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-card {
    animation: fadeInUp 0.6s ease forwards;
}

.account-card:nth-child(1) {
    animation-delay: 0.1s;
}

.account-card:nth-child(2) {
    animation-delay: 0.2s;
}

.account-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Green highlight text */
.text-highlight-green {
    background: linear-gradient(135deg, var(--go-green) 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA section background */
.cta-background {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Award item enhancements for this page */
.awards-scroll-container {
    padding: 1rem 0;
}

/* Responsive text sizing */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    .account-card h3 {
        font-size: 1.25rem;
    }
}

/* Spreads Accordion Styles */
.spread-accordion-item {
    transition: all 0.3s ease;
}

.spread-accordion-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--go-green);
}

.spread-accordion-header {
    cursor: pointer;
    user-select: none;
}

.spread-accordion-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.spread-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
}

.spread-accordion-content.open {
    max-height: 2000px; /* Large enough to contain content */
}

/* Table styling improvements */
.spread-accordion-content table {
    font-size: 0.9rem;
}

.spread-accordion-content table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.spread-accordion-content table tbody tr {
    transition: background-color 0.2s ease;
}

.spread-accordion-content table tbody tr:hover {
    background-color: #f9fafb !important;
}

/* Icon container styling */
.spread-accordion-header .w-12 {
    transition: all 0.3s ease;
}

.spread-accordion-item.active .spread-accordion-header .w-12 {
    background-color: var(--go-green);
}

.spread-accordion-item.active .spread-accordion-header .w-12 i {
    color: white !important;
}

/* Responsive table styling */
@media (max-width: 768px) {
    .spread-accordion-content table {
        font-size: 0.75rem;
    }
    
    .spread-accordion-content table th,
    .spread-accordion-content table td {
        padding: 0.5rem 0.25rem;
    }
    
    .spread-accordion-header h3 {
        font-size: 1rem;
    }
    
    .spread-accordion-header p {
        font-size: 0.75rem;
    }
    
    .spread-accordion-header .w-12 {
        width: 2.5rem;
        height: 2.5rem;
    }
}

