/* ICBC Knowledge Test Page Styles - RupIELTS Theme */

/* Main Layout */
.icbc-main {
    min-height: 100vh;
    background: inherit;
    position: relative;
}

/* Animated Background Pattern */
.icbc-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(255, 182, 193, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(182, 215, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 255, 182, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section - Road Inspired Design */
.icbc-hero {
    background: 
        linear-gradient(135deg, rgba(182, 215, 255, 0.4) 0%, rgba(255, 182, 193, 0.3) 50%, rgba(255, 255, 182, 0.3) 100%),
        radial-gradient(ellipse at top left, rgba(65, 105, 225, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Road Pattern Animation */
.icbc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 100px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 0, 0, 0.02) 50px, rgba(0, 0, 0, 0.02) 100px);
    animation: roadMove 20s linear infinite;
}

@keyframes roadMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.icbc-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.icbc-hero-left {
    flex: 1;
    text-align: left;
}

/* Hero Image Placeholder */
.icbc-hero-image {
    flex: 0 0 400px;
    height: 400px;
    background: 
        linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(182, 215, 255, 0.2) 50%, rgba(255, 255, 182, 0.2) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.6);
    animation: carMorph 10s ease-in-out infinite, float 6s ease-in-out infinite;
}

@keyframes carMorph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; }
    50% { border-radius: 70% 30% 40% 60% / 30% 60% 40% 70%; }
    75% { border-radius: 30% 70% 60% 40% / 70% 40% 60% 30%; }
}

.icbc-hero-image::before {
    content: '🚗';
    font-size: 120px;
    opacity: 0.2;
    position: absolute;
    animation: carDrive 15s linear infinite;
}

@keyframes carDrive {
    0% { transform: translateX(-200px) rotate(0deg); }
    100% { transform: translateX(200px) rotate(360deg); }
}

.icbc-hero-image span {
    position: relative;
    z-index: 1;
    color: #FF6B6B;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Badge with Road Sign Style */
.icbc-badge-container {
    display: inline-block;
    margin-bottom: 40px;
    position: relative;
}

.icbc-badge {
    width: 140px;
    height: 140px;
    background: 
        linear-gradient(135deg, #FFD93D 0%, #FF6B6B 50%, #4ECDC4 100%);
    border-radius: 15px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 40px rgba(255, 107, 107, 0.3),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: roadSign 4s ease-in-out infinite;
}

@keyframes roadSign {
    0%, 100% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.05); }
}

.icbc-badge::after {
    content: '⚡';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 28px;
    animation: spark 2s ease-in-out infinite;
}

@keyframes spark {
    0%, 100% { 
        opacity: 0;
        transform: scale(0);
    }
    50% { 
        opacity: 1;
        transform: scale(1);
    }
}

.icbc-icon {
    font-size: 70px;
    transform: rotate(-45deg);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-10px); }
}

/* Title with Gradient */
.icbc-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4, #FFD93D, #FF6B6B);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
    animation: colorSlide 8s ease infinite;
}

@keyframes colorSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.icbc-subtitle {
    font-size: 1.25rem;
    color: var(--dark-text);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Hero Stats */
.icbc-hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.icbc-stat {
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    min-width: 160px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.icbc-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.6s ease;
}

.icbc-stat:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #FF6B6B;
    box-shadow: 
        0 15px 40px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.icbc-stat:hover::before {
    left: 100%;
}

.icbc-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.icbc-stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Road-Inspired Decorative Elements */
.icbc-road-element {
    position: absolute;
    width: 150px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #FFD93D 0px,
        #FFD93D 30px,
        transparent 30px,
        transparent 60px
    );
    opacity: 0.3;
}

.icbc-road-1 {
    top: 20%;
    left: -150px;
    transform: rotate(-45deg);
    animation: roadDrive1 15s linear infinite;
}

.icbc-road-2 {
    bottom: 20%;
    right: -150px;
    transform: rotate(45deg);
    animation: roadDrive2 15s linear infinite;
}

@keyframes roadDrive1 {
    0% { left: -150px; }
    100% { left: 100%; }
}

@keyframes roadDrive2 {
    0% { right: -150px; }
    100% { right: 100%; }
}

/* Container and Layout */
.icbc-container {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

.icbc-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Main Content Area */
.icbc-content {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.icbc-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.icbc-section {
    margin-bottom: 70px;
    position: relative;
}

.icbc-section-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.icbc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

/* Quick Info Cards */
.icbc-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.icbc-info-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%),
        linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    padding: 35px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.icbc-info-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.icbc-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 107, 107, 0.2),
        inset 0 0 0 2px #FF6B6B;
    border-color: #FF6B6B;
}

.icbc-info-card:hover::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.icbc-info-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 5px 10px rgba(255, 107, 107, 0.3));
}

.icbc-info-card:nth-child(1) .icbc-info-icon { --delay: 0s; }
.icbc-info-card:nth-child(2) .icbc-info-icon { --delay: 0.3s; }
.icbc-info-card:nth-child(3) .icbc-info-icon { --delay: 0.6s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.icbc-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Image Placeholders */
.icbc-image-placeholder {
    background: 
        linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.15) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
    font-weight: 600;
    margin: 35px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255, 107, 107, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.icbc-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 107, 107, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.icbc-image-placeholder::before {
    content: '🖼️';
    position: absolute;
    font-size: 50px;
    opacity: 0.15;
    animation: float 4s ease-in-out infinite;
}

.icbc-circular {
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

/* Fee Structure Section */
.icbc-fee-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 35px 0;
}

.icbc-fee-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.icbc-fee-card:hover {
    transform: translateY(-10px);
    border-color: #FFD93D;
    box-shadow: 0 20px 40px rgba(255, 217, 61, 0.3);
}

.icbc-fee-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    animation: coinFlip 4s ease-in-out infinite;
}

@keyframes coinFlip {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.icbc-fee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.icbc-fee-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.icbc-fee-note {
    font-style: italic;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 217, 61, 0.1);
    border-radius: 15px;
}

/* License Classes Grid */
.icbc-license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.icbc-license-item {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icbc-license-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
    border-color: #FF6B6B;
}

.icbc-license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.icbc-license-header h3 {
    font-size: 1.5rem;
    color: #FF6B6B;
    font-weight: 700;
}

.icbc-license-type {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.icbc-license-item p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

/* Practice Test Button */
.icbc-practice-btn {
    width: 100%;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.icbc-practice-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.icbc-practice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.icbc-practice-btn:hover::before {
    width: 300px;
    height: 300px;
}

.icbc-lock-icon {
    font-size: 1.2rem;
}

/* Learning Grid */
.icbc-learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.icbc-learning-item {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, #FF6B6B, #4ECDC4);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icbc-learning-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.icbc-learning-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.icbc-learning-item:hover::before {
    left: 100%;
}

.icbc-learning-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.icbc-learning-item:nth-child(1) .icbc-learning-icon { --delay: 0s; }
.icbc-learning-item:nth-child(2) .icbc-learning-icon { --delay: 0.1s; }
.icbc-learning-item:nth-child(3) .icbc-learning-icon { --delay: 0.2s; }
.icbc-learning-item:nth-child(4) .icbc-learning-icon { --delay: 0.3s; }
.icbc-learning-item:nth-child(5) .icbc-learning-icon { --delay: 0.4s; }
.icbc-learning-item:nth-child(6) .icbc-learning-icon { --delay: 0.5s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.icbc-learning-item h4 {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Benefits Section */
.icbc-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.icbc-benefit {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%),
        linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.icbc-benefit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translateY(-50%);
}

.icbc-benefit:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 
        15px 0 30px rgba(255, 107, 107, 0.2),
        inset 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.icbc-benefit:hover::before {
    left: -20px;
    width: 150px;
    height: 150px;
}

.icbc-benefit-icon {
    font-size: 42px;
    flex-shrink: 0;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 5px rgba(255, 107, 107, 0.3));
    animation: checkmark 0.6s ease-in-out;
    animation-delay: var(--delay, 0s);
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.icbc-benefit:nth-child(1) .icbc-benefit-icon { --delay: 0.1s; }
.icbc-benefit:nth-child(2) .icbc-benefit-icon { --delay: 0.2s; }
.icbc-benefit:nth-child(3) .icbc-benefit-icon { --delay: 0.3s; }
.icbc-benefit:nth-child(4) .icbc-benefit-icon { --delay: 0.4s; }

.icbc-benefit-content h4 {
    margin-bottom: 10px;
    color: #FF6B6B;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Schedule Section */
.icbc-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.icbc-schedule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.icbc-schedule-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFD93D);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.icbc-schedule-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.3);
}

.icbc-schedule-card:hover::before {
    opacity: 1;
}

.icbc-schedule-header {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.icbc-schedule-header::after {
    content: '🕐';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.1;
}

.icbc-schedule-day {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.icbc-schedule-type {
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.icbc-schedule-times {
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.icbc-schedule-times p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    padding: 10px 15px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icbc-schedule-times p:hover {
    background: rgba(78, 205, 196, 0.15);
    transform: translateX(5px);
}

/* Testimonials */
.icbc-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.icbc-testimonial {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%),
        linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.icbc-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
}

.icbc-testimonial::before {
    content: '"';
    font-size: 100px;
    color: rgba(255, 107, 107, 0.15);
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.icbc-stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.3rem;
    letter-spacing: 3px;
    filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.3));
}

.icbc-testimonial p {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
    font-size: 1.05rem;
}

.icbc-testimonial cite {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-right: 30px;
}

.icbc-testimonial cite::after {
    content: '✓';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-weight: bold;
}

/* CTA Section */
.icbc-cta-section {
    margin-top: 80px;
}

.icbc-cta-card {
    background: 
        linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #FFD93D 100%);
    color: white;
    padding: 60px 50px;
    border-radius: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(255, 107, 107, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Animated Road Lines */
.icbc-cta-card::before,
.icbc-cta-card::after {
    content: '';
    position: absolute;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.5) 0px,
        rgba(255, 255, 255, 0.5) 20px,
        transparent 20px,
        transparent 40px
    );
}

.icbc-cta-card::before {
    top: 20%;
    left: -100%;
    right: 100%;
    animation: roadLine 10s linear infinite;
}

.icbc-cta-card::after {
    bottom: 20%;
    left: -100%;
    right: 100%;
    animation: roadLine 10s linear infinite reverse;
}

@keyframes roadLine {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

.icbc-cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
    to { text-shadow: 0 3px 20px rgba(255, 255, 255, 0.5); }
}

.icbc-cta-card p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.icbc-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.icbc-cta-btn {
    padding: 18px 45px;
    border-radius: 35px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.icbc-cta-primary {
    background: white;
    color: #FF6B6B;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 2px transparent;
}

.icbc-cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.icbc-cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #FF6B6B;
}

.icbc-cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.icbc-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.icbc-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.icbc-phone-icon {
    font-size: 1.3rem;
    animation: ring 1s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

/* FAQ Section */
.icbc-faqs {
    display: grid;
    gap: 25px;
    margin-top: 35px;
}

.icbc-faq {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #FF6B6B;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.icbc-faq::before {
    content: 'Q';
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(255, 107, 107, 0.1);
    font-family: Georgia, serif;
}

.icbc-faq:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
    border-left-color: #4ECDC4;
}

.icbc-faq h4 {
    color: #FF6B6B;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.icbc-faq p {
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Sidebar Styles */
.icbc-sidebar {
    position: sticky;
    top: 100px;
}

.icbc-contact-card,
.icbc-location-card,
.icbc-office-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.icbc-contact-card:hover,
.icbc-location-card:hover,
.icbc-office-card:hover {
    border-color: #FF6B6B;
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.icbc-contact-card::before,
.icbc-location-card::before,
.icbc-office-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.icbc-contact-card:hover::before,
.icbc-location-card:hover::before,
.icbc-office-card:hover::before {
    top: -25%;
    right: -25%;
}

.icbc-contact-card h3,
.icbc-location-card h3,
.icbc-office-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.icbc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.icbc-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-text);
    text-decoration: none;
    padding: 15px 20px;
    background: 
        linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.icbc-contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    transition: width 0.3s ease;
}

.icbc-contact-item:hover {
    transform: translateX(8px);
    color: #FF6B6B;
}

.icbc-contact-item:hover::before {
    width: 100%;
}

.icbc-contact-icon {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.icbc-sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    padding: 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.icbc-sidebar-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.icbc-sidebar-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.icbc-sidebar-btn:hover::before {
    width: 300px;
    height: 300px;
}

.icbc-location-card address,
.icbc-office-card address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.icbc-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
}

.icbc-map-link:hover {
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.2);
    transform: translateX(5px);
}

.icbc-office-note {
    background: rgba(255, 217, 61, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

/* Password Protection Modal */
.icbc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.icbc-modal-content {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    margin: 10% auto;
    padding: 40px;
    border: none;
    border-radius: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.icbc-modal-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icbc-modal-close:hover,
.icbc-modal-close:focus {
    color: #FF6B6B;
    transform: rotate(90deg);
}

.icbc-modal-content h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.icbc-form-group {
    margin-bottom: 20px;
}

.icbc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.icbc-form-group input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.icbc-form-group input:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.icbc-submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.icbc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.icbc-error-message {
    color: #e74c3c;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    display: none;
}

.icbc-error-message:not(:empty) {
    display: block;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .icbc-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .icbc-hero-left {
        text-align: center;
    }
    
    .icbc-hero-stats {
        justify-content: center;
    }
    
    .icbc-hero-image {
        flex: 0 0 350px;
        height: 350px;
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .icbc-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .icbc-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .icbc-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .icbc-title {
        font-size: 2.2rem;
    }
    
    .icbc-subtitle {
        font-size: 1.1rem;
    }
    
    .icbc-hero {
        padding: 50px 20px 70px;
    }
    
    .icbc-hero-image {
        flex: 0 0 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .icbc-hero-image::before {
        font-size: 80px;
    }
    
    .icbc-content {
        padding: 30px 20px;
    }
    
    .icbc-section-title {
        font-size: 1.8rem;
    }
    
    .icbc-hero-stats {
        gap: 20px;
    }
    
    .icbc-stat {
        padding: 20px 25px;
        min-width: 140px;
    }
    
    .icbc-stat-number {
        font-size: 1.8rem;
    }
    
    .icbc-badge {
        width: 120px;
        height: 120px;
    }
    
    .icbc-icon {
        font-size: 60px;
    }
    
    .icbc-cta-card {
        padding: 40px 25px;
    }
    
    .icbc-cta-card h2 {
        font-size: 2rem;
    }
    
    .icbc-learning-grid,
    .icbc-license-grid {
        grid-template-columns: 1fr;
    }
    
    .icbc-road-element {
        display: none;
    }
    
    .icbc-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .icbc-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .icbc-modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 30px 20px;
    }
}

/* Print Styles */
@media print {
    .icbc-sidebar,
    .icbc-cta-section,
    .icbc-road-element,
    .icbc-practice-btn {
        display: none;
    }
    
    .icbc-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .icbc-hero {
        background: none;
        padding: 20px 0;
    }
    
    .icbc-content {
        box-shadow: none;
        background: white;
    }
    
    .icbc-badge,
    .icbc-info-icon,
    .icbc-learning-icon {
        animation: none;
    }
}
<!-- Add this CSS to your icbc.css file -->
<style>
.icbc-license-item.no-access {
    opacity: 0.8;
}

.icbc-practice-btn.full-access {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.icbc-practice-btn.full-access:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
}
</style>