 :root {
            --primary-dark: #1B5E20;
            --primary-light: #4CAF50;
            --secondary: #FFB300;
            --secondary-dark: #ff3300;
            --accent: #2196F3;
            --light: #F5F5F5;
            --dark: #1B5E20;
            --gray: #757575;
            --light-gray: #EEEEEE;
            --white: #FFFFFF;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
            --radius: 10px;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--light);
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Roboto Slab', serif;
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        

        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* Page Header */
        .page-header {
            padding: 180px 0 80px;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/ap.jpg');
            background-size: cover;
            background-position: center;
            color: var(--white);
            text-align: center;
            position: relative;
        }

        .page-header h1 {
            font-size: 3.5rem;
            color: var(--white);
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s ease forwards 0.3s;
        }

        .page-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s ease forwards 0.5s;
        }

       

        @media (max-width: 576px) {
            .page-header {
                padding: 150px 0 60px;
            }
            
           
        }       
              /* Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* main container */
        .apply-hub {
            max-width: 1280px;
            width: 100%;
            margin: 0 auto;
        }

        /* header / intro area */
        .hero {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .hero h1 {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            background: linear-gradient(135deg, #2C5F2D 0%, #4A7C3F 40%, #D4A11E 100%);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            margin-bottom: 0.75rem;
        }

        .hero .tagline {
            font-size: 1.2rem;
            color: #2d4a1e;
            background-color: #fef7e0;
            display: inline-block;
            padding: 0.4rem 1.2rem;
            border-radius: 60px;
            font-weight: 500;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03);
            backdrop-filter: blur(2px);
        }

        .hero p {
            margin-top: 1rem;
            color: #2b4829;
            max-width: 620px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 450;
        }

        /* 4 cards grid */
        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2rem;
            margin: 2rem 0 2.5rem;
            padding: 15px;
            margin-bottom: 70px;
        }

        /* card base style */
        .course-card {
            background: #ffffff;
            border-radius: 2rem;
            overflow: hidden;
            box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
            transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 28px 36px -16px rgba(0, 0, 0, 0.2);
        }

        /* card header with color accents: green or yellow */
        .card-accent {
            height: 12px;
            width: 100%;
        }

        /* card content */
        .card-content {
            padding: 1.8rem 1.5rem 2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .course-icon {
            font-size: 2.8rem;
            margin-bottom: 0.9rem;
        }

        .course-title {
            font-size: 1.7rem;
            font-weight: 700;
            letter-spacing: -0.3px;
            margin-bottom: 0.65rem;
            line-height: 1.2;
        }

        .course-description {
            font-size: 0.95rem;
            line-height: 1.45;
            color: #2d3e2a;
            margin-bottom: 1.5rem;
            opacity: 0.85;
        }

        .apply-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            flex-wrap: wrap;
            gap: 0.6rem;
        }

        .apply-badge {
            font-weight: 600;
            font-size: 0.85rem;
            background: #f3f6ea;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            color: #2a5c2a;
            letter-spacing: -0.2px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .arrow {
            transition: transform 0.2s ease;
            font-size: 1.2rem;
        }

        .course-card:hover .arrow {
            transform: translateX(5px);
        }

        /* green theme card */
        .card-green .card-accent {
            background: #2e7d32;
        }
        .card-green .course-title {
            color: #1f5420;
        }
        .card-green .apply-badge {
            background: #e9f5e6;
            color: #1f6e2f;
        }

        /* yellow theme card */
        .card-yellow .card-accent {
            background: #e6b422;
        }
        .card-yellow .course-title {
            color: #a57c1c;
        }
        .card-yellow .apply-badge {
            background: #fff0cf;
            color: #b7791f;
        }

        /* subtle variation inside green & yellow */
        .card-yellow .apply-meta .apply-badge i {
            color: #e5a41a;
        }

        /* footer / extra info */
        .info-note {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.85rem;
            color: #597a4b;
            background: #eef3e5;
            padding: 0.9rem 1.2rem;
            border-radius: 60px;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            backdrop-filter: blur(4px);
            font-weight: 500;
        }

        .info-note a {
            color: #2b6e2f;
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted #b7d0a8;
        }

        .info-note a:hover {
            border-bottom: 1px solid #2e7d32;
        }

        /* responsive */
        @media (max-width: 700px) {
            .hero h1 {
                font-size: 2rem;
            }
            .courses-grid {
                gap: 1.2rem;
            }
            .card-content {
                padding: 1.4rem;
            }
            .course-title {
                font-size: 1.4rem;
            }
        }

        /* simple focus ring for accessibility */
        .course-card:focus-visible {
            outline: 3px solid #dbb42c;
            outline-offset: 4px;
            border-radius: 2rem;
        }

        /* decorative ribbon effect for fun */
        .course-card::after {
            content: '';
            position: absolute;
            top: 12px;
            right: 16px;
            width: 40px;
            height: 40px;
            opacity: 0.05;
            background: radial-gradient(circle, #dbb42c 2px, transparent 2px);
            background-size: 12px 12px;
            pointer-events: none;
            border-radius: 50%;
        }