/*
Theme Name: Career Next
Description: A modern career guidance and employment services WordPress theme with advanced customization options.
Version: 4.0.5
Author: Fawzeen  Technologies
Author URI: https://www.fawzeen.com/
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: career-next
*/

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

        :root {
            --primary-green: #1a5f3f; 
            --light-green: #2d8659;
            --accent-green: #4a9b73;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --text-dark: #2c3e50;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            /*height: 70px;*/
            z-index: 1000;
            transition: all 0.3s ease;
			box-shadow: 0 6px 20px rgba(74, 155, 115, 0.4);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.95);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--white);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: var(--primary-green);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }
        .nav-menu a:hover {
            color: var(--accent-green);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--primary-green);
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(26, 95, 63, 0.7), rgba(26, 95, 63, 0.7)),
                        url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2340&q=80') center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            padding: 2rem;
            animation: fadeInUp 1s ease-out;
        }

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

        .hero .subtitle {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--accent-green);
            font-weight: 600;
        }

        .hero .tagline {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta-button {
            background: var(--accent-green);
            color: var(--white);
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(74, 155, 115, 0.3);
        }

        .cta-button:hover {
            background: var(--light-green);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 155, 115, 0.4);
        }

        /* About Section */
        .about {
            padding: 5rem 2rem;
            background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2340&q=80') center/cover;
            text-align: center;
        }

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

        .section-title {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 2rem;
            font-weight: bold;
            animation: fadeInUp 0.8s ease-out;
        }

        .about-content {
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.8;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }
/* Career Notification Section */
.notifications {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(26, 95, 63, 0.95), rgba(248, 249, 250, 0.95)),
                url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80') center/cover;
    text-align: center;
}
.notifications-section-title {
            font-size: 2.5rem;
            color: var(--white);
            margin-bottom: 2rem;
            font-weight: bold;
            animation: fadeInUp 0.8s ease-out;
        }
.notification-carousel-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
	align-items: center;
	justify-content: center;
}

.notification-carousel {
    display: flex;
	flex-direction: row;
    transition: transform 0.5s cubic-bezier(.77,0,.175,1);
	align-items: center;
	justify-content: center;
}

.notification-card {
    min-width: 400px;
    max-width: 400px;
    height: 400px;
    margin-right: 16px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: left;
    display: flex;
   
    justify-content: flex-start;
    animation: fadeInUp 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26, 95, 63, 0.12);
}

.notification-date {
    font-size: 1rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-weight: bold;
}

.notification-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: bold;
}

.notification-content {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Notification carousel navigation */
.notification-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: var(--primary-green);
    border: 1px solid #dbdbdb;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.7rem 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    box-shadow: 0 4px 18px rgba(26, 95, 63, 0.25);
}

.notification-nav.prev { left: 0; }
.notification-nav.next { right: 0; }

.notification-nav:hover {
    background: var(--primary-green);
	color: var(--white);
}

@media (max-width: 1200px) {
    .notification-card { min-width: 340px; max-width: 340px; }
}
@media (max-width: 900px) {
    .notification-card { min-width: 260px; max-width: 260px; height: 420px; }
}
@media (max-width: 780px) {
    .notification-card { min-width: 100vw; max-width: 100vw; height: 380px; }
    .notification-carousel { gap: 0; }
}

        /* Services Section */
        .services {
            padding: 5rem 2rem;
            background: linear-gradient(rgba(26, 95, 63, 0.95), rgba(26, 95, 63, 0.95)),
                        url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=2126&q=80') center/cover;
            color: var(--white);
			text-align: center;
        }
        
        .services .section-title {
            color: var(--white);
        } 
   
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: slideInUp 0.6s ease-out;
        }

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

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--white);
        }

        .service-features {
            list-style: none;
            text-align: left;
            margin-top: 1rem;
        }

        .service-features li {
            padding: 0.5rem 0;
            position: relative;
            padding-left: 1.5rem;
        }

        .service-features li::before {
            content: '✅';
            position: absolute;
            left: 0;
        }

        .service-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        
/* Programs & Events Section */
.programs-events {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(255,255,255,0.95), rgba(26, 95, 63,0.95)),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2340&q=80') center/cover;
    text-align: center;
}

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

.event-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: left;
    min-width: 350px;
    max-width: 400px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.7s ease-out;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(74, 155, 115, 0.15);
}

.event-title {
    font-size: 1.45rem;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-date, .event-location {
    font-size: 1rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.event-desc {
    color: var(--text-dark);
    font-size: 1.09rem;
    margin-bottom: 1.5rem;
}

.event-register-button {
    background: var(--accent-green);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 40px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(74, 155, 115, 0.15);
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s ease, transform 0.3s ease;
}

.event-register-button:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.events-scroll-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    /* Hide scrollbar for aesthetics (Chrome, Safari, Edge) */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) var(--light-gray);
}

.events-scroll-wrapper::-webkit-scrollbar {
    height: 10px;
    background: var(--light-gray);
}

.events-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 5px;
}

.events-horizontal-grid {
    display: flex;
    gap: 2rem;
    min-width: 100%;
    padding: 1rem 0;
}

.event-card {
    flex: 0 0 400px;
    /* ...rest of your event-card styles... */
}

/* Responsive: Smaller card width on tablets/mobiles */
@media (max-width: 900px) {
    .event-card { flex: 0 0 260px; min-width: 260px; }
}


@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-card {
        min-width: 100%;
        max-width: 100%;
    }
}

        /* Why Choose Us Section */
        .why-choose {
            padding: 5rem 2rem;
            background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)),
                        url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80') center/cover;
            text-align: center;
        }

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

        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        /* Blog Section */
        .blog-posting {
            padding: 5rem 2rem;
            background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(26, 95, 63, 0.8)),
                        url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80') center/cover;
        }

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

        .blog-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
        }

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

        .blog-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-title {
            font-size: 1.3rem;
            color: var(--primary-green);
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .blog-excerpt {
            color: var(--text-dark);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .blog-date {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 1rem;
        }

        .read-more {
            color: var(--accent-green);
            text-decoration: none;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.3s ease;
        }

        .read-more:hover {
            color: var(--primary-green);
        }
    

        
        /* Contact Section */
        .contact {
            padding: 5rem 2rem;
            background: linear-gradient(rgba(26, 95, 63, 0.8), rgba(255, 255, 255, 0.5)),
                        url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80') center/cover;
            color: var(--white);
            text-align: center;
        }
        
        .contact .section-title {
            color: var(--white);
        }

        .contact-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-info {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 3rem;
            border-radius: 15px;
            margin-top: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .phone-number {
            font-size: 2rem;
            font-weight: bold;
            color: var(--accent-green);
            margin: 1rem 0;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .contact-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-info-block {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
    min-width: 320px;
    max-width: 320px; /*This is the difference from contact-form*/
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-info-block h3,
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.3rem;
}

.phone-row,
.email-row,
.address-row,
.social-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.12rem;
    color: var(--white);
}

.ci-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}
.ci-label {
    font-weight: bold;
    min-width: 86px;
    margin-right: 0.6rem;
}
.ci-data {
    color: var(--white);
}
.social-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.3rem;
}
.social-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-row {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background: rgba(256,256,256,0.20);
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 10px rgba(26,95,63,0.10);
    outline: none;
    transition: background 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(256,256,256,0.40);
    border: 1px solid var(--accent-green);
}

.contact-form .cta-button {
    width: 100%;
    border-radius: 40px;
    background: var(--light-green);
}

.contact-form .cta-button:hover {
    background: var(--accent-green);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info-block, .contact-form {
        min-width: 100%;
        max-width: 100%;
    }
}


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

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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background-color: rgba(255, 255, 255, 0.95);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                padding: 2rem 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero .subtitle {
                font-size: 1.2rem;
            }

            .hero .tagline {
                font-size: 1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .navbar {
                padding: 1rem;
            }

            .hero {
                background-image: linear-gradient(rgba(26, 95, 63, 0.7), rgba(26, 95, 63, 0.7)),
                                  url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
            }
        }

        @media (max-width: 480px) {
            .hero {
                background-image: linear-gradient(rgba(26, 95, 63, 0.7), rgba(26, 95, 63, 0.7)),
                                  url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
            }
        }

        .hero-carousel, .carousel-outer {
    position: relative;
    margin-top:35px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.7s cubic-bezier(.77,0,.175,1);
    height: 100vh;
}

.carousel-slide {
    min-width: 100vw;
    height: 100vh;
    position: relative;
}

.carousel-img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.55);
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.carousel-heading {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    line-height: 1.15;
}

.carousel-desc {
    font-size: 1.45rem;
    max-width: 800px;
    opacity: 0.93;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.hero-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.7rem 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    box-shadow: 0 4px 18px rgba(26, 95, 63, 0.25);
}
.hero-carousel-nav.prev { left: 2rem; }
.hero-carousel-nav.next { right: 2rem; }

.hero-carousel-nav:hover {
    background: var(--accent-green);
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
    z-index: 20;
}

.hero-indicator {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--accent-green);
    cursor: pointer;
    transition: background 0.3s;
}
.hero-indicator.active {
    background: var(--accent-green);
}

@media (max-width: 768px) {
    .carousel-heading { font-size: 2rem; margin-bottom: 1.2rem; }
    .carousel-desc { font-size: 1rem; max-width: 95vw; }
    .hero-carousel-nav { font-size: 2rem; padding: 0.5rem 1rem;}
    .hero-carousel-indicators { bottom: 1.2rem; }
}


        /* Scroll animations */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
