:root {
    --primary-blue: #2b7fff;
    --secondary-blue: #A23B72;
    --accent-orange: #F18F01;
    --light-blue: #87CEEB;
    --dark-blue: #1B4F72;
    --cream: #fff7ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.8), rgba(162, 59, 114, 0.6)), 
                url('./images/18.png') center/cover;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    opacity: 0.7;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Typing Animation */
.typing-text {
    border-right: 2px solid var(--accent-orange);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--accent-orange); }
    51%, 100% { border-color: transparent; }
}

/* Remove duplicate .hero::before - already defined above */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--accent-orange), #FF6B35);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 143, 1, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 143, 1, 0.4);
    background: linear-gradient(45deg, #FF6B35, var(--accent-orange));
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    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);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(46, 134, 171, 0.3);
}

.service-card h4 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--dark-blue);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Trusted By Section */
.trusted-by {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue), white);
}

.category-section {
    margin-bottom: 60px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-orange), var(--primary-blue));
    border-radius: 2px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.logo-item:hover::before {
    opacity: 0.05;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.client-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    filter: grayscale(100%);
    opacity: 0.7;
}

.logo-item:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile responsiveness for logo grid */
@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        height: 80px;
        padding: 15px;
    }
    
    .client-logo {
        max-height: 50px;
    }
    
    .category-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--cream);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-orange);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.stars {
    color: var(--accent-orange);
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: white;
}

.course-card {
    background: white;
    border-radius: 15px;
    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);
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.course-card:hover::before {
    opacity: 0.1;
}

.course-card:hover .course-content {
    transform: translateZ(20px);
}

.course-content {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(46, 134, 171, 0.8), rgba(162, 59, 114, 0.6));
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.btn-course {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-course:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue), var(--cream));
}

.about-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--accent-orange), var(--primary-blue));
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.navbar-custom.navbar-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar-custom.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Enhanced Navigation Animations */
.navbar-custom .navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .navbar-custom .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar show/hide animation */
.navbar-custom {
    will-change: transform;
}

.navbar-custom.navbar-show {
    transform: translateY(0);
    opacity: 1;
}

.navbar-custom.navbar-hide {
    transform: translateY(-100%);
    opacity: 0;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-orange), #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(241, 143, 1, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(241, 143, 1, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(241, 143, 1, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(241, 143, 1, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(241, 143, 1, 0.4); }
}

/* Statistics Counter */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
}

/* Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Particle Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Button Effects */
.btn-primary-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--cream);
}

.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px;
    font-weight: 600;
    color: var(--dark-blue);
    border-radius: 15px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 134, 171, 0.25);
}

.accordion-body {
    padding: 20px;
    background: white;
    color: var(--dark-blue);
    line-height: 1.6;
}

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

.success-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.success-image {
    height: 200px;
    overflow: hidden;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.1);
}

.success-content {
    padding: 25px;
}

.success-role {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.success-metrics {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--dark-blue);
}

.success-quote {
    font-style: italic;
    color: var(--dark-blue);
    margin-top: 15px;
}

/* Resources Section */
.resources {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue), var(--cream));
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.resource-card h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.resource-card p {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.btn-resource {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-resource:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    color: white;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
}

.contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--cream);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h5 {
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-blue);
    margin: 0;
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .success-metrics {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Social Media Links */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    margin-right: 10px;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 143, 1, 0.4);
}

.social-links a i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

/* Specific social media colors on hover */
.social-links a[href*="youtube"]:hover {
    background: #FF0000;
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-links a[href*="linkedin"]:hover {
    background: #0077B5;
}
