/* Modern Home Page Styles */
:root {
    --primary-color: #64ffda;
    --secondary-color: #3a86ff;
    --dark-navy: #0a192f;
    --navy: #112240;
    --light-navy: #172a45;
    --lightest-navy: #303C55;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
}

/* Hero Section Enhancements */
.hero-2023 {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    background-color: var(--dark-navy);
}

.hero-2023::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-2023 .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content-2023 {
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--lightest-slate);
    font-weight: 800;
    position: relative;
}

.hero-title .text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-right: 10px;
}

.hero-title .letter {
    display: inline-block;
    transform-origin: 0 100%;
    opacity: 0;
    transform: translateY(100%);
    animation: letterAnimation 0.5s forwards;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

.btn-hero-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-navy);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.3);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    border: 2px solid var(--primary-color);
    transition: all 0.4s ease;
}

.btn-hero-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.1);
}

.hero-image-container {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.hero-main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-main-image::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.hero-image-text {
    color: #64ffda;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.hero-main-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-card {
    position: absolute;
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.floating-card-1 {
    top: -30px;
    right: -30px;
    animation: floatIn 0.8s ease forwards 1.2s;
}

.floating-card-2 {
    bottom: -30px;
    left: -30px;
    animation: floatIn 0.8s ease forwards 1.5s;
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark-navy);
}

.floating-card-text {
    flex: 1;
}

.floating-card-text h4 {
    font-size: 16px;
    margin: 0 0 5px;
    color: var(--lightest-slate);
}

.floating-card-text p {
    font-size: 14px;
    margin: 0;
    color: var(--slate);
}

/* Features Section Enhancements */
.features-2023 {
    padding: 120px 0;
    position: relative;
    background-color: var(--dark-navy);
}

.features-2023::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(58, 134, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.section-header-2023 {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section-subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 42px;
    color: var(--lightest-slate);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 18px;
    color: var(--slate);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.feature-item:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.feature-item:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.feature-item:nth-child(4) {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.05), rgba(100, 255, 218, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-15px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--dark-navy);
    margin-bottom: 25px;
    transition: all 0.4s ease;
    transform: rotate(0deg);
}

.feature-item:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.feature-title {
    font-size: 24px;
    color: var(--lightest-slate);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.feature-item:hover .feature-title::after {
    width: 60px;
}

.feature-description {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.7;
}

/* Courses Section Enhancements */
.courses-2023 {
    padding: 120px 0;
    position: relative;
    background-color: var(--dark-navy);
}

.courses-2023::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(58, 134, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.courses-container {
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.course-card {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.course-card:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.course-card:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.course-card:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.course-card:hover {
    transform: translateY(-15px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.course-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    transition: transform 0.5s ease;
}

.cad-image {
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
}

.media-image {
    background: linear-gradient(135deg, #0a192f 0%, #3a86ff 100%);
}

.engineering-image {
    background: linear-gradient(135deg, #0a192f 0%, #64ffda 100%);
}

.course-image-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-navy);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.course-title {
    font-size: 22px;
    color: var(--lightest-slate);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--primary-color);
}

.course-description {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--slate);
}

.course-meta-item i {
    color: var(--primary-color);
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.course-link i {
    transition: transform 0.3s ease;
}

.course-link:hover {
    color: var(--secondary-color);
}

.course-link:hover i {
    transform: translateX(5px);
}

/* Testimonials Section Enhancements */
.testimonials-2023 {
    padding: 120px 0;
    position: relative;
    background-color: var(--dark-navy);
}

.testimonials-2023::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(100, 255, 218, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 40px;
    font-size: 120px;
    color: rgba(100, 255, 218, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 18px;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-avatar-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a192f 0%, #3a86ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 20px;
    color: var(--lightest-slate);
    margin: 0 0 5px;
}

.testimonial-info p {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
}

/* CTA Section Enhancements */
.cta-2023 {
    padding: 120px 0;
    position: relative;
    background-color: var(--dark-navy);
    overflow: hidden;
}

.cta-2023::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(58, 134, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.05), rgba(100, 255, 218, 0.05));
    z-index: -1;
}

.cta-title {
    font-size: 42px;
    color: var(--lightest-slate);
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--white), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 18px;
    color: var(--slate);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(100, 255, 218, 0.1));
    filter: blur(80px);
    z-index: -1;
}

.cta-shape-1 {
    top: -150px;
    right: -150px;
}

.cta-shape-2 {
    bottom: -150px;
    left: -150px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes letterAnimation {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .hero-2023 .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content-2023 {
        order: 2;
        text-align: center;
    }
    
    .hero-image-container {
        order: 1;
    }
    
    .hero-description {
        margin: 0 auto 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .floating-card-1 {
        top: auto;
        right: 20px;
        bottom: -20px;
    }
    
    .floating-card-2 {
        bottom: auto;
        left: 20px;
        top: -20px;
    }
    
    .cta-container {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .cta-title {
        font-size: 30px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 30px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-content {
        font-size: 16px;
    }
    
    .cta-container {
        padding: 40px 30px;
    }
}
