/* Enhanced Styles for Professional Look */

/* Enhanced Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    font-size: 16px;
}

/* Enhanced Hero with Background Image */
.hero {
    background: linear-gradient(rgba(30, 64, 175, 0.85), rgba(59, 130, 246, 0.85)), 
                url('https://images.unsplash.com/photo-1580674684081-7617fbf3d745?q=80&w=2000') center/cover;
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges */
.trust-badges {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.badge-content h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--dark-color);
}

.badge-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.875rem;
}

/* Enhanced Cards with Hover Effects */
.course-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: white;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Photo Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--dark-color);
}

.author-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.875rem;
}

.rating {
    color: #fbbf24;
    margin-top: 0.5rem;
}

/* Statistics with Animation */
.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Process Timeline Enhanced */
.process-section {
    padding: 5rem 0;
    background: white;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
}

.process-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.process-content {
    flex: 1;
    padding: 0 2rem;
}

.process-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Floating Elements */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Accommodation Cards */
.accommodation-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    position: relative;
    overflow: hidden;
}

.accommodation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feature Icons Animation */
.feature-card i {
    transition: all 0.3s;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Enhanced Forms */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Success Stories Section */
.success-stories {
    padding: 5rem 0;
    background: white;
}

.story-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.story-image {
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}

.story-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.story-meta {
    color: var(--text-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Certifications Display */
.certifications-bar {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cert-item:hover {
    opacity: 1;
}

.cert-logo {
    width: 60px;
    height: 60px;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .process-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .story-card {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.75rem 1.5rem;
    }
}

/* Photo Showcase */
.photo-showcase {
    padding: 5rem 0;
    background: var(--light-color);
}

.showcase-grid {
    display: grid;
    gap: 3rem;
}

.showcase-category h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.photo-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.photo-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .photo-grid img {
        height: 150px;
    }
}
