/* Advanced Security Training (AST) Course Page Styles - RupIELTS Theme */

/* Main Layout */
.ast-main {
    min-height: 100vh;
    background: inherit;
    position: relative;
}

/* Animated Background Security Pattern */
.ast-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(230, 182, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(182, 215, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 182, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section - Security Professional Theme */
.ast-hero {
    background: 
        linear-gradient(135deg, rgba(230, 182, 255, 0.35) 0%, rgba(182, 215, 255, 0.3) 50%, rgba(182, 182, 255, 0.35) 100%),
        radial-gradient(ellipse at top right, rgba(147, 112, 219, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(65, 105, 225, 0.15) 0%, transparent 50%);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Security Grid Pattern Animation */
.ast-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(147, 112, 219, 0.03) 50px, rgba(147, 112, 219, 0.03) 100px),
        repeating-linear-gradient(-45deg, transparent, transparent 50px, rgba(65, 105, 225, 0.03) 50px, rgba(65, 105, 225, 0.03) 100px);
    animation: securityGrid 30s linear infinite;
}

@keyframes securityGrid {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(5deg); }
}

.ast-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.ast-hero-left {
    flex: 1;
    text-align: left;
}

/* Hero Image Placeholder - Right Side */
.ast-hero-image {
    flex: 0 0 350px;
    height: 350px;
    background: 
        linear-gradient(135deg, rgba(147, 112, 219, 0.3) 0%, rgba(65, 105, 225, 0.2) 50%, rgba(230, 182, 255, 0.25) 100%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, transparent 70%);
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(147, 112, 219, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.6);
    animation: shieldFloat 6s ease-in-out infinite, shieldRotate 20s linear infinite;
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

@keyframes shieldRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ast-hero-image::before {
    content: '🛡️';
    font-size: 100px;
    opacity: 0.3;
    position: absolute;
    animation: securityPulse 3s ease-in-out infinite;
}

@keyframes securityPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.ast-hero-image::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: 
        conic-gradient(from 0deg, transparent, rgba(147, 112, 219, 0.1), transparent, rgba(65, 105, 225, 0.1), transparent);
    animation: shieldSpin 15s linear infinite;
}

@keyframes shieldSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ast-hero-image span {
    position: relative;
    z-index: 1;
    color: #9370DB;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(147, 112, 219, 0.2);
}

/* Security Badge with Professional Effect */
.ast-badge-container {
    display: inline-block;
    margin-bottom: 40px;
    position: relative;
}

.ast-badge {
    width: 140px;
    height: 140px;
    background: 
        linear-gradient(135deg, #9370DB 0%, #4169E1 50%, #9370DB 100%);
    clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 40px rgba(147, 112, 219, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: badgeFloat 4s ease-in-out infinite, badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes badgeGlow {
    from {
        box-shadow: 
            0 15px 40px rgba(147, 112, 219, 0.4),
            0 0 40px rgba(147, 112, 219, 0.3),
            inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    }
    to {
        box-shadow: 
            0 15px 40px rgba(147, 112, 219, 0.6),
            0 0 60px rgba(147, 112, 219, 0.5),
            inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Security Stars Effect */
.ast-badge::after {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: starRotate 4s linear infinite;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

@keyframes starRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.ast-icon {
    font-size: 70px;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Title with Security Gradient */
.ast-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #9370DB, #4169E1, #6495ED, #9370DB);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
    animation: securityGradient 5s ease infinite;
    position: relative;
}

@keyframes securityGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ast-subtitle {
    font-size: 1.25rem;
    color: var(--dark-text);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
    position: relative;
}

/* Hero Stats Cards */
.ast-hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.ast-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;
}

.ast-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.ast-stat:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #9370DB;
    box-shadow: 
        0 15px 40px rgba(147, 112, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ast-stat:hover::before {
    left: 100%;
}

.ast-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.ast-stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Security Shield Decorative Elements */
.ast-shield-element {
    position: absolute;
    width: 120px;
    height: 140px;
    background: 
        linear-gradient(135deg, rgba(147, 112, 219, 0.15) 0%, rgba(65, 105, 225, 0.1) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.5;
}

.ast-shield-element::before {
    content: '';
    position: absolute;
    inset: 10px;
    background: 
        linear-gradient(135deg, rgba(147, 112, 219, 0.2) 0%, transparent 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.ast-shield-1 {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
    animation: shieldFloat 8s ease-in-out infinite;
}

.ast-shield-2 {
    bottom: 10%;
    right: 5%;
    transform: rotate(15deg);
    animation: shieldFloat 8s ease-in-out infinite reverse;
}

/* Container and Layout */
.ast-container {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

.ast-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Main Content Area */
.ast-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;
}

/* Content Security Pattern */
.ast-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: 
        radial-gradient(circle, rgba(147, 112, 219, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.ast-section {
    margin-bottom: 70px;
    position: relative;
}

.ast-section-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.ast-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #9370DB, #4169E1);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(147, 112, 219, 0.3);
}

/* Quick Info Cards */
.ast-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.ast-info-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%),
        linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(65, 105, 225, 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;
}

.ast-info-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.ast-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(147, 112, 219, 0.25),
        inset 0 0 0 2px #9370DB;
    border-color: #9370DB;
}

.ast-info-card:hover::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.ast-info-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    animation: securityBounce 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 5px 10px rgba(147, 112, 219, 0.3));
}

.ast-info-card:nth-child(1) .ast-info-icon { --delay: 0s; }
.ast-info-card:nth-child(2) .ast-info-icon { --delay: 0.2s; }
.ast-info-card:nth-child(3) .ast-info-icon { --delay: 0.4s; }

@keyframes securityBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.ast-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Enhanced Image Placeholders - Security Shapes */
.ast-image-placeholder {
    background: 
        linear-gradient(135deg, rgba(147, 112, 219, 0.2) 0%, rgba(65, 105, 225, 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: #9370DB;
    font-weight: 600;
    margin: 35px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(147, 112, 219, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.ast-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(147, 112, 219, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.ast-image-placeholder::before {
    content: '🖼️';
    position: absolute;
    font-size: 50px;
    opacity: 0.15;
    animation: float 4s ease-in-out infinite;
}

/* Different shaped placeholders */
.ast-shield-shape {
    width: 250px;
    height: 280px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.ast-hexagon {
    width: 220px;
    height: 220px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.ast-octagon {
    width: 200px;
    height: 200px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.ast-pentagon {
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.ast-star {
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Course Modules Grid */
.ast-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.ast-module-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, #9370DB, #4169E1);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ast-module-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.ast-module-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(147, 112, 219, 0.2);
}

.ast-module-item:hover::before {
    left: 100%;
}

.ast-module-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
    animation: modulePulse 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.ast-module-item:nth-child(1) .ast-module-icon { --delay: 0s; }
.ast-module-item:nth-child(2) .ast-module-icon { --delay: 0.1s; }
.ast-module-item:nth-child(3) .ast-module-icon { --delay: 0.2s; }
.ast-module-item:nth-child(4) .ast-module-icon { --delay: 0.3s; }
.ast-module-item:nth-child(5) .ast-module-icon { --delay: 0.4s; }
.ast-module-item:nth-child(6) .ast-module-icon { --delay: 0.5s; }

@keyframes modulePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ast-module-item h4 {
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Fee Structure Section */
.ast-fee-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.ast-fee-item {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 35px 30px;
    border-radius: 25px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.ast-fee-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15) 0%, rgba(65, 105, 225, 0.15) 100%);
    transition: height 0.4s ease;
}

.ast-fee-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(147, 112, 219, 0.25),
        inset 0 0 0 2px #9370DB;
    border-color: #9370DB;
}

.ast-fee-item:hover::before {
    height: 100%;
}

.ast-fee-icon {
    font-size: 42px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 5px rgba(147, 112, 219, 0.3));
    animation: feeIconBounce 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.ast-fee-item:nth-child(1) .ast-fee-icon { --delay: 0s; }
.ast-fee-item:nth-child(2) .ast-fee-icon { --delay: 0.15s; }
.ast-fee-item:nth-child(3) .ast-fee-icon { --delay: 0.3s; }
.ast-fee-item:nth-child(4) .ast-fee-icon { --delay: 0.45s; }

@keyframes feeIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ast-fee-details h4 {
    margin-bottom: 10px;
    color: #9370DB;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.ast-fee-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.ast-fee-details p {
    font-size: 0.95rem;
    color: #666;
    position: relative;
    z-index: 1;
}

/* Benefits Section */
.ast-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ast-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(147, 112, 219, 0.05) 0%, rgba(65, 105, 225, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.ast-benefit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translateY(-50%);
}

.ast-benefit:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 
        15px 0 30px rgba(147, 112, 219, 0.2),
        inset 0 0 0 2px rgba(147, 112, 219, 0.3);
}

.ast-benefit:hover::before {
    left: -20px;
    width: 150px;
    height: 150px;
}

.ast-benefit-icon {
    font-size: 42px;
    flex-shrink: 0;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 5px rgba(147, 112, 219, 0.3));
    animation: checkmark 0.6s ease-in-out;
    animation-delay: var(--delay, 0s);
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.ast-benefit:nth-child(1) .ast-benefit-icon { --delay: 0.1s; }
.ast-benefit:nth-child(2) .ast-benefit-icon { --delay: 0.2s; }
.ast-benefit:nth-child(3) .ast-benefit-icon { --delay: 0.3s; }
.ast-benefit:nth-child(4) .ast-benefit-icon { --delay: 0.4s; }

.ast-benefit-content h4 {
    margin-bottom: 10px;
    color: #9370DB;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Who Should Take Grid */
.ast-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.ast-who-item {
    text-align: center;
    padding: 30px 25px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ast-who-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2) 0%, rgba(65, 105, 225, 0.2) 100%);
    transition: height 0.4s ease;
}

.ast-who-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(147, 112, 219, 0.25),
        inset 0 0 0 2px #9370DB;
}

.ast-who-item:hover::before {
    height: 100%;
}

.ast-who-item:hover .ast-image-placeholder {
    transform: scale(1.1) rotate(-5deg);
}

.ast-who-item h4 {
    margin: 20px 0 12px;
    color: #9370DB;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.ast-who-item p {
    position: relative;
    z-index: 1;
}

/* Schedule Section */
.ast-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.ast-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;
}

.ast-schedule-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #9370DB, #4169E1, #9370DB);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ast-schedule-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(147, 112, 219, 0.3);
}

.ast-schedule-card:hover::before {
    opacity: 1;
}

.ast-schedule-header {
    background: linear-gradient(135deg, #9370DB, #4169E1);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ast-schedule-header::after {
    content: '📅';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.1;
}

.ast-schedule-day {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ast-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);
}

.ast-schedule-times {
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.ast-schedule-times p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    padding: 10px 15px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ast-schedule-times p:hover {
    background: rgba(147, 112, 219, 0.15);
    transform: translateX(5px);
}

/* Policies Section */
.ast-policies {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.ast-policy-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 35px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 2px solid transparent;
    border-radius: 30px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ast-policy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.ast-policy-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #9370DB;
    color: #9370DB;
    box-shadow: 
        0 15px 40px rgba(147, 112, 219, 0.25),
        inset 0 0 0 2px #9370DB;
}

.ast-policy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ast-policy-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.ast-policy-btn:hover .ast-policy-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Testimonials */
.ast-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.ast-testimonial {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%),
        linear-gradient(135deg, rgba(147, 112, 219, 0.05) 0%, rgba(65, 105, 225, 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;
}

.ast-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(147, 112, 219, 0.15);
    border-color: rgba(147, 112, 219, 0.3);
}

.ast-testimonial::before {
    content: '"';
    font-size: 100px;
    color: rgba(147, 112, 219, 0.15);
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.ast-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));
}

.ast-testimonial p {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
    font-size: 1.05rem;
}

.ast-testimonial cite {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-right: 30px;
}

.ast-testimonial cite::after {
    content: '✓';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-weight: bold;
}

/* CTA Section */
.ast-cta-section {
    margin-top: 80px;
}

.ast-cta-card {
    background: 
        linear-gradient(135deg, #9370DB 0%, #4169E1 50%, #6495ED 100%);
    color: white;
    padding: 60px 50px;
    border-radius: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(147, 112, 219, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Animated Security Patterns */
.ast-cta-card::before,
.ast-cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.ast-cta-card::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.ast-cta-card::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.ast-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); }
}

.ast-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;
}

.ast-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ast-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;
}

.ast-cta-primary {
    background: white;
    color: #9370DB;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 2px transparent;
}

.ast-cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.ast-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 #9370DB;
}

.ast-cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.ast-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.ast-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);
}

.ast-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 */
.ast-faqs {
    display: grid;
    gap: 25px;
    margin-top: 35px;
}

.ast-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 #9370DB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ast-faq::before {
    content: 'Q';
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(147, 112, 219, 0.1);
    font-family: Georgia, serif;
}

.ast-faq:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(147, 112, 219, 0.15);
    border-left-color: #4169E1;
}

.ast-faq h4 {
    color: #9370DB;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.ast-faq p {
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Sidebar Styles */
.ast-sidebar {
    position: sticky;
    top: 100px;
}

.ast-contact-card,
.ast-location-card,
.ast-quick-links-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;
}

.ast-contact-card:hover,
.ast-location-card:hover,
.ast-quick-links-card:hover {
    border-color: #9370DB;
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(147, 112, 219, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ast-contact-card::before,
.ast-location-card::before,
.ast-quick-links-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.ast-contact-card:hover::before,
.ast-location-card:hover::before,
.ast-quick-links-card:hover::before {
    top: -25%;
    right: -25%;
}

.ast-contact-card h3,
.ast-location-card h3,
.ast-quick-links-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.ast-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.ast-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-text);
    text-decoration: none;
    padding: 15px 20px;
    background: 
        linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(65, 105, 225, 0.1) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.ast-contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2) 0%, rgba(65, 105, 225, 0.2) 100%);
    transition: width 0.3s ease;
}

.ast-contact-item:hover {
    transform: translateX(8px);
    color: #9370DB;
}

.ast-contact-item:hover::before {
    width: 100%;
}

.ast-contact-icon {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.ast-sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(45deg, #9370DB, #4169E1);
    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(147, 112, 219, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.ast-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;
}

.ast-sidebar-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(147, 112, 219, 0.4);
}

.ast-sidebar-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ast-location-card address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.ast-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9370DB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 15px;
}

.ast-map-link:hover {
    color: #4169E1;
    background: rgba(65, 105, 225, 0.2);
    transform: translateX(5px);
}

/* Related Links */
.ast-related-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ast-related-links li {
    margin-bottom: 12px;
}

.ast-related-links a {
    color: var(--dark-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(147, 112, 219, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ast-related-links a::before {
    content: '→';
    margin-right: 10px;
    color: #9370DB;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ast-related-links a:hover {
    background: rgba(147, 112, 219, 0.15);
    transform: translateX(5px);
    color: #9370DB;
}

.ast-related-links a:hover::before {
    transform: translateX(5px);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ast-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .ast-hero-left {
        text-align: center;
    }
    
    .ast-hero-stats {
        justify-content: center;
    }
    
    .ast-hero-image {
        flex: 0 0 300px;
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .ast-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .ast-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .ast-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .ast-title {
        font-size: 2.2rem;
    }
    
    .ast-subtitle {
        font-size: 1.1rem;
    }
    
    .ast-hero {
        padding: 50px 20px 70px;
    }
    
    .ast-hero-image {
        flex: 0 0 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .ast-hero-image::before {
        font-size: 80px;
    }
    
    .ast-hero-image span {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .ast-content {
        padding: 30px 20px;
    }
    
    .ast-section-title {
        font-size: 1.8rem;
    }
    
    .ast-hero-stats {
        gap: 20px;
    }
    
    .ast-stat {
        padding: 20px 25px;
        min-width: 140px;
    }
    
    .ast-stat-number {
        font-size: 1.8rem;
    }
    
    .ast-badge {
        width: 120px;
        height: 120px;
    }
    
    .ast-icon {
        font-size: 60px;
    }
    
    .ast-cta-card {
        padding: 40px 25px;
    }
    
    .ast-cta-card h2 {
        font-size: 2rem;
    }
    
    .ast-modules-grid,
    .ast-who-grid,
    .ast-fee-structure {
        grid-template-columns: 1fr;
    }
    
    .ast-shield-element {
        display: none;
    }
    
    .ast-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .ast-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .ast-policies {
        flex-direction: column;
        gap: 15px;
    }
    
    .ast-policy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .ast-sidebar,
    .ast-cta-section,
    .ast-shield-element {
        display: none;
    }
    
    .ast-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .ast-hero {
        background: none;
        padding: 20px 0;
    }
    
    .ast-content {
        box-shadow: none;
        background: white;
    }
    
    .ast-badge,
    .ast-info-icon,
    .ast-module-icon {
        animation: none;
    }
}