/* Global Styles */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --gradient-page-bg: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    --primary-color: #ff6b6b;
    --secondary-color: #ff8e53;
    --accent-color: #ff4757;
    --dark-color: #111;
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    --text-light: #e0f7fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(to right, var(--accent-color), var(--primary-color));
    --transition: all 0.3s ease;
    --success-color: #2ecc71;
    --gradient-secondary: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
    --gradient-light: linear-gradient(120deg, #203a43 0%, #2c5364 100%);
    --gradient-dark: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    --highlight-color: #e0f7fa;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-page-bg);
    overflow-x: hidden;
}

/* Adjust all text to white color */
p, h1, h2, h3, h4, h5, h6, .nav-link, .footer-links li a, .testimonial-content p {
    color: var(--text-color);
}

/* Update section backgrounds to be transparent or have slight opacity */
.about-section, .features-section, .how-it-works-section, .careers-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.about-section:before, .features-section:before, .how-it-works-section:before, .careers-section:before {
    opacity: 0.1;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 32, 39, 0.95); /* Match first color from gradient */
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.navbar-nav {
    display: flex;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--light-color) !important;
    transform: translateY(-2px);
}

.nav-link i {
    color: var(--primary-color);
    margin-right: 5px;
    font-size: 1rem;
}

.take-quiz-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
    border: none;
    font-weight: 600;
}

.take-quiz-btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Enhanced Section Headers with Icons */
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-header .section-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons .btn-primary {
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 8px 20px rgba(255, 107, 129, 0.3);
}

.hero-buttons .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.hero-icon {
    display: inline-block;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* About Section */
.about-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.about-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/clean-gray-paper.png');
    opacity: 0.5;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--highlight-color);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    background: var(--gradient-light);
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.features-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/light-paper-fibers.png');
    opacity: 0.5;
    z-index: -1;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.features-section .row, 
.careers-section .row {
    margin-top: 20px;
    row-gap: 25px;
}

/* Ensuring feature cards visibility */
.feature-card {
    background: rgba(44, 83, 100, 0.8);
    color: var(--text-color);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.05) 100%);
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.9);
}

.feature-card:hover:before {
    opacity: 1;
    transform: scale(1);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.4rem;
}

.feature-card p {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Make feature icon more visible */
.feature-icon i, .career-icon i {
    color: var(--text-color);
    font-size: 1.8rem;
}

.feature-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.8), rgba(44, 83, 100, 0.8));
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.counter-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.counter-section .container {
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.5s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.counter-item .counter {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.counter-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* How It Works Section */
.how-it-works-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.how-it-works-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/light-paper-fibers.png');
    opacity: 0.5;
}

.how-it-works-section .container {
    position: relative;
    z-index: 1;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding: 20px;
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Career Categories Section */
.careers-section {
    background: var(--gradient-light);
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.careers-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/light-paper-fibers.png');
    opacity: 0.5;
    z-index: -1;
}

.careers-section .container {
    position: relative;
    z-index: 2;
}

.career-card {
    background: rgba(44, 83, 100, 0.8);
    color: var(--text-color);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.career-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.05) 100%);
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.9);
}

.career-card:hover:before {
    opacity: 1;
    transform: scale(1);
}

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

.career-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.career-card:hover .career-icon {
    transform: scale(1.1);
}

.career-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.career-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gradient-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-header h2 {
    color: white;
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.testimonial-image {
    text-align: center;
    padding: 30px 30px 0;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    padding: 20px 30px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    font-style: italic;
    color: white;
    margin-bottom: 20px;
}

.testimonial-content h4 {
    margin-bottom: 5px;
}

.testimonial-role {
    color: white;
    font-weight: 600;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(to right, rgba(15, 32, 39, 0.9), rgba(44, 83, 100, 0.9));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 80px 0 20px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-fish-skin.png');
    opacity: 0.1;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h3 {
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header .section-icon {
        font-size: 1.6rem;
    }
    
    .step-number {
        width: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .about-card {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .newsletter form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }
    
    .footer h3 {
        margin-top: 1.5rem;
    }
    
    .footer-links {
        padding-left: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .input-group .btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* Adding hover glowing effects */
.btn-primary:hover {
    background: var(--gradient-accent);
    box-shadow: 0 0 20px rgba(255, 107, 129, 0.5);
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon,
.career-card:hover .career-icon {
    box-shadow: 0 0 25px rgba(255, 107, 129, 0.5);
    transform: scale(1.1) rotateY(180deg);
}

/* Custom Animation for Feature Cards */
@keyframes pulseGlow {
    0% { box-shadow: 0 5px 15px rgba(255, 107, 129, 0.3); }
    50% { box-shadow: 0 5px 30px rgba(255, 107, 129, 0.5); }
    100% { box-shadow: 0 5px 15px rgba(255, 107, 129, 0.3); }
}

.feature-card:hover, 
.career-card:hover,
.testimonial-card:hover {
    animation: pulseGlow 2s infinite;
    transform: translateY(-15px);
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Floating Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatingAnimation var(--random-time) ease-in-out infinite;
    animation-delay: var(--random-delay);
}

@keyframes floatingAnimation {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--random-x), var(--random-y));
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Hero Section Shapes */
.hero-shapes .shape {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
}

.hero-shapes .shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 25%;
}

/* Counter Section Shapes */
.counter-shapes .shape {
    background: rgba(255, 255, 255, 0.15);
}

.counter-shapes .shape-1 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 15%;
}

.counter-shapes .shape-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 10%;
}

/* CTA Section Shapes */
.cta-shapes .shape {
    background: rgba(255, 255, 255, 0.15);
}

.cta-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 15%;
}

.cta-shapes .shape-2 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 10%;
}

/* Quote Icon in Testimonials */
.quote-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

/* Enhance testimonial cards */
.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-image {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    flex-grow: 1;
}

.testimonial-content h4 {
    margin-top: 15px;
    color: white;
    font-weight: 600;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Glowing effects for buttons and icons */
.btn-primary, .take-quiz-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary:after, .take-quiz-btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
    transition: transform 0.6s;
    opacity: 0;
}

.btn-primary:hover:after, .take-quiz-btn:hover:after {
    transform: rotate(30deg) translate(10%, 10%);
    opacity: 1;
}

/* Improved Header Animation */
.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand i {
    margin-right: 5px;
    animation: robotPulse 2s infinite;
}

@keyframes robotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Enhanced Hover Effects for Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 129, 0.3);
}

/* Enhanced Step Card Animation */
.step-card {
    transition: all 0.5s ease;
}

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

.step-number {
    background: var(--gradient-accent);
    transition: all 0.5s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 129, 0.4);
}

/* Newsletter Form Styling */
.input-group .form-control {
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    border: none;
}

.input-group .btn {
    border-radius: 0 30px 30px 0;
    padding: 12px 25px;
    background: var(--gradient-accent);
    border: none;
}

.input-group .btn:hover {
    box-shadow: 0 0 15px rgba(255, 107, 129, 0.5);
}

/* Footer Links Animation */
.footer-links li a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: white;
}

.footer-links li a:hover::after {
    width: 100%;
}

/* Scroll animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

.rotate-in {
    opacity: 0;
    transform: rotateY(90deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.active {
    opacity: 1;
    transform: rotateY(0);
}

/* Staggered animations for children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button styles for better visibility against gradient background */
.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white !important;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Additional styling for step content */
.step-content h3, .step-content p {
    color: var(--text-color);
}

/* Ensuring all text in the feature list items is visible */
.feature-list li i {
    color: var(--highlight-color);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Ensuring feature cards visibility */
.feature-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Specific animation for features section */
#features {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 10 !important;
}

#features .section-header,
#features .stagger-children,
#features .container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Specific animation for careers section */
#careers {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 10 !important;
}

#careers .section-header,
#careers .stagger-children,
#careers .container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Make career icon more visible */
.career-icon i {
    color: var(--text-color);
    font-size: 2rem;
}

.career-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Adding card gaps */
.features-section .row > div, 
.careers-section .row > div {
    padding: 15px;
}

/* Make feature cards slightly smaller */
@media (min-width: 768px) {
    .feature-card, .career-card {
        max-width: 85%;
        transform: scale(0.95);
        transition: transform 0.3s ease;
    }
    
    .feature-card:hover, .career-card:hover {
        transform: translateY(-15px) scale(0.98);
    }
    
    .features-section .row, 
    .careers-section .row {
        margin-left: -20px;
        margin-right: -20px;
    }
}