:root {
    --primary-color: #054c74; /* Dark teal */
    --secondary-color: #0a9fa6; /* Teal */
    --accent-color-1: #50b47a; /* Green */
    --accent-color-2: #257cbf; /* Blue */
    --neutral-color: #c0b287; /* Beige */
    --light-color: #f9fafb;
}

.registration-container {
    /* max-width: 900px; */
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.main-container-register .card {
    border: none;
    border-radius: 16px;
    border: none !important;
}

.main-container-register .card-header {
    background-color: white;
    border-bottom: none;
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.main-container-register .card-body {
    padding: 0 2rem 2rem;
}

.card-header h1 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

.option-container {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .option-container {
        flex-direction: column;
    }
}

.option-card {
    flex: 1;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(10, 159, 166, 0.2);
}

.option-card.schools {
    background: linear-gradient(135deg, rgba(5, 76, 116, 0.05) 0%, rgba(5, 76, 116, 0) 100%);
}

.option-card.support {
    background: linear-gradient(135deg, rgba(10, 159, 166, 0.05) 0%, rgba(10, 159, 166, 0) 100%);
}

.option-card.premium {
    background: linear-gradient(135deg, rgba(80, 180, 122, 0.05) 0%, rgba(80, 180, 122, 0) 100%);
}

.icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.schools .icon-container {
    background: linear-gradient(135deg, #054c74 0%, #257cbf 100%);
}

.support .icon-container {
    background: linear-gradient(135deg, #0a9fa6 0%, #50b47a 100%);
}

.premium .icon-container {
    background: linear-gradient(135deg, #c0b287 0%, #c0b287 100%);
}

.option-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.option-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease !important;
}

.btn-support {
    background: linear-gradient(135deg, #054c74 0%, #257cbf 100%);
    color: white !important;
    border: none;
}

.btn-support:hover {
    background: linear-gradient(135deg, #033c5d 0%, #1e6aa5 100%);
    color: white;
    transform: translateY(-2px);
}

.btn-schools {
    background: linear-gradient(135deg, #0a9fa6 0%, #50b47a 100%);
    color: white !important;
    border: none;
}

.btn-schools:hover {
    background: linear-gradient(135deg, #08878d 0%, #429066 100%);
    color: white;
    transform: translateY(-2px);
}

.btn-premium {
    background: linear-gradient(135deg, #c0b287 0%, #c0b287 100%);
    color: white !important;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease !important;
}

.btn-premium:hover {
    background: linear-gradient(135deg, rgba(93, 80, 180, 0.8) 0%, rgba(135, 10, 166, 0.8) 100%);
    color: white;
    transform: translateY(-2px);
}

.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.05;
}

.decoration-1 {
    background-color: var(--primary-color);
    top: -100px;
    left: -100px;
}

.decoration-2 {
    background-color: var(--secondary-color);
    bottom: -100px;
    right: -100px;
}

.decoration-3 {
    background-color: var(--accent-color-1);
    top: -100px;
    right: -100px;
}

/* FIXED: Main container for better mobile experience */
.main-container-register {
    background-color: var(--light-color);
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh; /* Changed from height: 80vh to min-height: 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0; /* Added padding for mobile spacing */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.btn-support:active, 
.btn-schools:active,
.btn-premium:active {
    color: #ccc !important;
}

/* Card interaction styles */
.option-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.option-card .btn-select {
    position: relative;
    z-index: 11;
}

.option-card .decoration,
.option-card .icon-container,
.option-card svg,
.option-card .option-title,
.option-card .option-description {
    pointer-events: none;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .option-container {
        gap: 15px;
    }
    .option-card {
        padding: 1.5rem;
    }
    .main-container-register {
        padding: 40px 20px; /* Increased padding for medium screens */
    }
}

@media screen and (max-width: 768px) {
    .option-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-container-register {
        padding: 30px 15px; /* Adjusted padding for tablets */
        align-items: flex-start; /* Allow natural height expansion */
    }
    
    .registration-container {
        max-width: 100%;
        width: 100%;
    }
    
    .card-header h1 {
        font-size: 1.5rem;
    }
    
    .option-title {
        font-size: 1.125rem;
    }
    
    .option-description {
        font-size: 0.875rem;
    }
    
    .btn-select {
        padding: 0.75rem;
    }
    
    .option-card {
        padding: 1rem;
    }
    
    .icon-container {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .main-container-register {
        padding: 20px 10px; /* Reduced padding for small screens */
        align-items: flex-start; /* Allow content to flow naturally */
    }
    
    .option-container {
        gap: 15px; /* Reduced gap for better spacing */
    }
    
    .option-card {
        padding: 1rem; /* Consistent padding */
        margin-bottom: 0; /* Remove any bottom margin */
    }
    
    .card-header {
        padding: 1.5rem 1rem 1rem !important; /* Reduced header padding */
    }
    
    .card-body {
        padding: 0 1rem 1.5rem !important; /* Reduced body padding */
    }
    
    .icon-container {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 1rem;
    }
    
    .option-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem;
    }
    
    .option-description {
        font-size: 0.85rem !important;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .btn-select {
        padding: 0.7rem !important;
        font-size: 0.9rem;
    }
    
    .card-header h1 {
        font-size: 1.3rem !important;
        margin-bottom: 0.3rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Ensure no hover effects on mobile that might interfere */
    .option-card:hover {
        transform: none;
        box-shadow: none;
    }
}