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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Header & Navigation */
        header {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

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

        .logo {
            font-size: 1.1rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            letter-spacing: 0.5px;
        }

        .logo img {
            height: 40px;
            width: auto;
            display: block;
        }

        .logo-img {
            height: 40px;
            width: auto;
        }

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

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.8;
        }

        .mobile-menu {
            display: none;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 120px 2rem 80px;
            text-align: center;
            margin-top: 40px;
        }

        .hero.imigongo-section {
            position: relative;
        }

        /* Make imigongo visible on hero gradient background */
        .hero ~ .imigongo-decoration,
        body > .imigongo-decoration {
            opacity: 0.4;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s 0.2s both;
        }

        .cta-button {
            background: white;
            color: #5b6b9f;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            display: inline-block;
            animation: fadeInUp 1s 0.4s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        /* Section Styles */
        section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        /* Imigongo sections - decorations are fixed to viewport edges */
        section.imigongo-section {
            /* No extra padding needed since decorations are fixed to viewport */
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #5b6b9f;
        }

        /* About Section */
        #about {
            /* background: #f8f9fa; */
            padding: 4rem 2rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            background: white;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-text h3 {
            color: #5b6b9f;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .about-text p {
            color: #555;
            line-height: 1.8;
        }

        .about-image {
            height: auto;
            min-height: 300px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5b6b9f;
            font-size: 3rem;
            /* border: 2px solid #e9ecef; */
        }

        .about-image img {
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(91, 107, 159, 0.15);
            max-height: 400px;
            width: auto;
        }

        /* Stats Section */
        .stats {
            background: linear-gradient(135deg, #6b7ba8 0%, #5b6b9f 100%);
            color: white;
            padding: 4rem 2rem;
            margin: 4rem 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        /* Partners Section */
        .partners {
            background: #f8f9fa;
            padding: 4rem 2rem;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 2rem auto;
            align-items: center;
        }

        .partner-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.08);
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            min-height: 150px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .partner-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(91, 107, 159, 0.15);
        }

        .partner-logo {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #5b6b9f;
        }

        .partner-name {
            font-weight: bold;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .partner-type {
            font-size: 0.9rem;
            color: #666;
        }

        /* Events Section */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .event-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .event-date {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 10px;
            display: inline-block;
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .event-card h3 {
            color: #5b6b9f;
            margin-bottom: 1rem;
        }

        .event-register-btn {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            margin-top: 1rem;
            box-shadow: 0 4px 15px rgba(91, 107, 159, 0.3);
        }

        .event-register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(91, 107, 159, 0.4);
            background: linear-gradient(135deg, #4a5a8a 0%, #3a4a7a 100%);
        }

        .event-register-btn-disabled {
            background: #cccccc;
            color: #666666;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            cursor: not-allowed;
            margin-top: 1rem;
            box-shadow: none;
        }

        .event-register-btn-disabled:hover {
            background: #bbbbbb;
        }

        /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .blog-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

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

        .blog-image {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
        }

        .blog-content {
            padding: 1.5rem;
        }

        .blog-content h3 {
            color: #5b6b9f;
            margin-bottom: 1rem;
        }

        /* Team Section */
        .team {
            background: #f8f9fa;
            padding: 4rem 2rem;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            max-width: 1200px;
            margin: 2rem auto;
        }

        .team-member {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(91, 107, 159, 0.2);
        }

        .team-photo {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
        }

        .team-info {
            padding: 1.5rem;
        }

        .team-info h3 {
            color: #5b6b9f;
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
        }

        .team-position {
            color: #4a5a8a;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .team-bio {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .team-socials {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
            color: #5b6b9f;
            font-size: 1.2rem;
        }

        .social-icon:hover {
            background: #5b6b9f;
            color: white;
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .team {
                padding: 3rem 1rem;
            }

            .team-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1.5rem;
            }

            .team-photo {
                height: 200px;
                font-size: 3rem;
            }

            .team-info {
                padding: 1rem;
            }

            .team-info h3 {
                font-size: 1.1rem;
            }

            .team-bio {
                font-size: 0.9rem;
            }
        }

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

        /* Resources Section */
        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .resource-card {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s;
            cursor: pointer;
        }

        .resource-card:hover {
            transform: scale(1.05);
        }

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

        /* Membership Section */
        .membership-tiers {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .tier-card {
            background: white;
            border: 3px solid #5b6b9f;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s;
        }

        .tier-card:hover {
            border-color: #4a5a8a;
            box-shadow: 0 10px 30px rgba(91, 107, 159, 0.2);
        }

        .tier-card h3 {
            color: #5b6b9f;
            margin-bottom: 1rem;
        }

        .tier-price {
            font-size: 2rem;
            font-weight: bold;
            color: #4a5a8a;
            margin: 1rem 0;
        }

        .tier-features {
            list-style: none;
            text-align: left;
            margin: 1.5rem 0;
        }

        .tier-features li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }

        .tier-features li:before {
            content: "✓ ";
            color: #5b6b9f;
            font-weight: bold;
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 2rem;
        }

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

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #5b6b9f;
            font-weight: bold;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #5b6b9f;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .submit-button {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            cursor: pointer;
            width: 100%;
            transition: transform 0.3s;
        }

        .submit-button:hover {
            transform: translateY(-2px);
        }

        .contact-info {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 2rem;
            border-radius: 15px;
        }

        .contact-info h3 {
            color: white;
            margin-bottom: 1.5rem;
        }

        .contact-item {
            margin-bottom: 1.5rem;
        }

        .contact-item strong {
            display: block;
            margin-bottom: 0.5rem;
        }

        /* Newsletter Section */
        .newsletter {
            background: linear-gradient(135deg, #6b7ba8 0%, #5b6b9f 100%);
            color: white;
            padding: 4rem 2rem;
            text-align: center;
            margin: 4rem 0;
        }

        .newsletter h2 {
            color: white;
            margin-bottom: 1rem;
        }

        .newsletter-form {
            max-width: 600px;
            margin: 2rem auto;
            display: flex;
            gap: 1rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
        }

        .newsletter-form button {
            background: white;
            color: #5b6b9f;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .newsletter-form button:hover {
            transform: scale(1.05);
        }

        /* Footer */
        footer {
            background: #2d3748;
            color: white;
            padding: 3rem 2rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
        }

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

        .footer-links a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.3s;
        }

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

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: #5b6b9f;
        }

        /* Animations */
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background-color: white;
            padding: 2.5rem;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 1rem;
        }

        .modal-header h3 {
            color: #5b6b9f;
            font-size: 1.8rem;
            margin: 0;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
            padding: 0;
            line-height: 1;
        }

        .close-btn:hover {
            color: #5b6b9f;
        }

        .modal-body {
            margin-bottom: 1.5rem;
        }

        .modal-body p {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #5b6b9f;
            font-weight: bold;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #5b6b9f;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }

        .modal-footer {
            display: flex;
            gap: 1rem;
        }

        .modal-footer button {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

        .register-btn {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
        }

        .register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(91, 107, 159, 0.3);
        }

        .cancel-btn {
            background: #f0f0f0;
            color: #333;
        }

        .cancel-btn:hover {
            background: #e0e0e0;
        }

        .file-upload-box {
            border: 2px dashed #5b6b9f;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            background: #f9f9f9;
            transition: all 0.3s;
        }

        .file-upload-box:hover {
            border-color: #4a5a8a;
            background: #f0f2f8;
        }

        .file-preview {
            background: #e8f0ff;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            text-align: center;
        }

        .file-preview p {
            color: #5b6b9f;
            margin: 0;
        }

        .file-preview .file-name {
            font-weight: bold;
            color: #4a5a8a;
        }

        .remove-file-btn {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            transition: background 0.3s;
        }

        .remove-file-btn:hover {
            background: #ff5252;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

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

        @media (max-width: 480px) {
            .modal-content {
                width: 95%;
                padding: 1.5rem;
            }

            .modal-header h3 {
                font-size: 1.5rem;
            }

            .modal-footer {
                flex-direction: column;
            }
        }

        /* Member Portal */
        .portal-login {
            max-width: 400px;
            margin: 2rem auto;
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        /* Responsive Design */

        /* Tablet and smaller */
        @media (max-width: 1024px) {
            section {
                padding: 3rem 1.5rem;
            }

            .events-grid,
            .blog-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }

            .membership-tiers {
                grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            }
        }

        /* Mobile landscape and smaller tablets */
        @media (max-width: 768px) {
            nav {
                padding: 0 1rem;
            }

            .nav-links {
                display: none;
                position: fixed;
                top: 60px;
                left: 0;
                right: 0;
                background: #5b6b9f;
                flex-direction: column;
                padding: 1rem;
                gap: 0;
                box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links li {
                width: 100%;
                text-align: center;
                padding: 1rem 0;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .nav-links li:last-child {
                border-bottom: none;
            }

            .mobile-menu {
                display: block;
                font-size: 1.5rem;
                cursor: pointer;
            }

            .logo {
                font-size: 0.9rem;
            }

            .logo svg {
                width: 30px;
                height: 30px;
            }

            .hero {
                padding: 100px 1.5rem 60px;
            }

            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
            }

            .hero p {
                font-size: 1.1rem;
            }

            h2 {
                font-size: 2rem;
            }

            #about {
                padding: 3rem 1rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 2rem;
            }

            .about-image {
                height: 200px;
            }

            .stats {
                padding: 3rem 1rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .partners-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1.5rem;
            }

            .partner-card {
                padding: 1.5rem;
                min-height: 120px;
            }

            .partner-logo {
                font-size: 2.5rem;
            }

            .events-grid,
            .blog-grid {
                grid-template-columns: 1fr;
            }

            .resources-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }

            .membership-tiers {
                grid-template-columns: 1fr;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .newsletter {
                padding: 3rem 1rem;
            }

            .newsletter-form {
                flex-direction: column;
                padding: 0 1rem;
            }

            .newsletter-form input,
            .newsletter-form button {
                width: 100%;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-links {
                display: flex;
                flex-direction: column;
                gap: 0.5rem;
            }
        }

        /* Small mobile devices */
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 1.6rem;
            }

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

            .cta-button {
                padding: 0.8rem 1.5rem;
                font-size: 1rem;
            }

            h2 {
                font-size: 1.6rem;
            }

            section {
                padding: 2.5rem 1rem;
            }

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

            .stat-number {
                font-size: 2rem;
            }

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

            .partner-card {
                padding: 1.5rem 1rem;
            }

            .event-card,
            .blog-card,
            .resource-card,
            .tier-card {
                padding: 1.5rem;
            }

            .event-register-btn,
            .event-register-btn-disabled {
                padding: 0.7rem 1.2rem;
                font-size: 0.9rem;
                width: 100%;
                text-align: center;
            }

            .tier-price {
                font-size: 1.6rem;
            }

            .contact-form,
            .portal-login {
                padding: 1.5rem;
            }

            .newsletter h2 {
                font-size: 1.6rem;
            }
        }

        /* Large screens */
        @media (min-width: 1400px) {
            section {
                max-width: 1400px;
            }

            .stats-grid,
            .partners-grid,
            .footer-content {
                max-width: 1400px;
            }
        }



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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }

        /* Header */
        header {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

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

        .logo {
            font-size: 1.1rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            letter-spacing: 0.5px;
        }

        .back-link {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1.5rem;
            border: 2px solid white;
            border-radius: 50px;
            transition: all 0.3s;
        }

        .back-link:hover {
            background: white;
            color: #5b6b9f;
        }

        /* Main Container */
        .container {
            max-width: 1000px;
            margin: 3rem auto;
            padding: 0 2rem;
        }

        /* Page Header */
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .page-header h1 {
            color: #5b6b9f;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .page-header p {
            color: #666;
            font-size: 1.1rem;
        }

        /* Membership Tiers Selection */
        .tier-selection {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .tier-selection h2 {
            color: #5b6b9f;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .tier-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .tier-option {
            border: 3px solid #e0e0e0;
            border-radius: 12px;
            padding: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .tier-option:hover {
            border-color: #5b6b9f;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(91, 107, 159, 0.2);
        }

        .tier-option.selected {
            border-color: #5b6b9f;
            background: linear-gradient(135deg, rgba(91, 107, 159, 0.05) 0%, rgba(74, 90, 138, 0.05) 100%);
        }

        .tier-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }

        .tier-option .tier-name {
            font-size: 1.3rem;
            font-weight: bold;
            color: #5b6b9f;
            margin-bottom: 0.5rem;
        }

        .tier-option .tier-price {
            font-size: 1.5rem;
            font-weight: bold;
            color: #4a5a8a;
            margin-bottom: 1rem;
        }

        .tier-option .tier-features {
            list-style: none;
            font-size: 0.9rem;
            color: #666;
        }

        .tier-option .tier-features li {
            padding: 0.3rem 0;
        }

        .tier-option .tier-features li:before {
            content: "✓ ";
            color: #5b6b9f;
            font-weight: bold;
            margin-right: 0.3rem;
        }

        .checkmark {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #5b6b9f;
            color: white;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .tier-option.selected .checkmark {
            display: flex;
        }

        /* Registration Form */
        .registration-form {
            background: white;
            border-radius: 15px;
            padding: 2.5rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .registration-form h2 {
            color: #5b6b9f;
            margin-bottom: 2rem;
            font-size: 1.8rem;
        }

        .form-section {
            margin-bottom: 2.5rem;
        }

        .form-section h3 {
            color: #4a5a8a;
            margin-bottom: 1rem;
            font-size: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f0f0f0;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #5b6b9f;
            font-weight: 600;
        }

        .required {
            color: #ff6b6b;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.9rem;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #5b6b9f;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-help {
            font-size: 0.85rem;
            color: #999;
            margin-top: 0.3rem;
        }

        /* File Upload */
        .file-upload-area {
            border: 2px dashed #5b6b9f;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            background: #f9f9f9;
            transition: all 0.3s;
            cursor: pointer;
        }

        .file-upload-area:hover {
            border-color: #4a5a8a;
            background: #f0f2f8;
        }

        .file-upload-area input[type="file"] {
            display: none;
        }

        .upload-icon {
            font-size: 3rem;
            color: #5b6b9f;
            margin-bottom: 1rem;
        }

        .upload-text {
            color: #666;
            margin-bottom: 0.5rem;
        }

        .upload-hint {
            font-size: 0.85rem;
            color: #999;
        }

        .file-preview {
            margin-top: 1rem;
            padding: 1rem;
            background: #e8f0ff;
            border-radius: 8px;
            display: none;
        }

        .file-preview.active {
            display: block;
        }

        .file-preview p {
            color: #5b6b9f;
            margin: 0;
        }

        .file-name {
            font-weight: bold;
            color: #4a5a8a;
        }

        .remove-file {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 0.5rem;
            transition: background 0.3s;
        }

        .remove-file:hover {
            background: #ff5252;
        }

        /* Profile Photo Upload */
        .profile-upload-container {
            display: flex;
            gap: 2rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .profile-preview {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #5b6b9f;
            background: #f0f0f0;
            flex-shrink: 0;
        }

        .profile-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #999;
        }

        .profile-icon {
            font-size: 4rem;
            margin-bottom: 0.5rem;
        }

        .profile-placeholder p {
            font-size: 0.85rem;
            margin: 0;
        }

        .profile-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-upload-controls {
            flex: 1;
        }

        .profile-upload-controls input[type="file"] {
            display: none;
        }

        .upload-btn {
            background: #5b6b9f;
            color: white;
            padding: 0.8rem 2rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-block;
        }

        .upload-btn:hover {
            background: #4a5a8a;
            transform: translateY(-2px);
        }

        .remove-photo-btn {
            background: #ff6b6b;
            color: white;
            padding: 0.6rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            margin-top: 1rem;
            transition: background 0.3s;
        }

        .remove-photo-btn:hover {
            background: #ff5252;
        }

        @media (max-width: 768px) {
            .profile-upload-container {
                flex-direction: column;
                text-align: center;
            }

            .profile-preview {
                width: 150px;
                height: 150px;
            }

            .upload-btn {
                width: 100%;
            }
        }

        /* Checkbox Group */
        .checkbox-group {
            margin-top: 1.5rem;
        }

        .checkbox-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .checkbox-item input[type="checkbox"] {
            width: auto;
            margin-right: 0.8rem;
            margin-top: 0.2rem;
        }

        .checkbox-item label {
            color: #666;
            font-weight: normal;
        }

        /* Submit Button */
        .submit-section {
            margin-top: 2.5rem;
            text-align: center;
        }

        .submit-btn {
            background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
            color: white;
            padding: 1.2rem 3rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(91, 107, 159, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(91, 107, 159, 0.4);
        }

        .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        /* Success Message */
        .success-message {
            display: none;
            background: #4caf50;
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 2rem;
        }

        .success-message.active {
            display: block;
        }

        /* Footer */
        footer {
            background: #2d3748;
            color: white;
            padding: 2rem;
            text-align: center;
            margin-top: 4rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                padding: 0 1rem;
            }

            .logo {
                font-size: 0.9rem;
            }

            .logo svg {
                width: 30px;
                height: 30px;
            }

            .container {
                margin: 2rem auto;
                padding: 0 1rem;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .tier-selection,
            .registration-form {
                padding: 1.5rem;
            }

            .tier-options {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .submit-btn {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 1.6rem;
            }

            .tier-option {
                padding: 1rem;
            }

            .registration-form h2 {
                font-size: 1.5rem;
            }
        }

        /* Educational Programs Section */
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .program-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .program-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

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

        .program-icon {
            width: 100%;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .program-content {
            padding: 1.5rem;
        }

        .program-badges {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .badge-type {
            background: #e3f2fd;
            color: #1976d2;
        }

        .badge-level {
            background: #f3e5f5;
            color: #7b1fa2;
        }

        .program-card h3 {
            color: #333;
            margin-bottom: 0.75rem;
            font-size: 1.25rem;
        }

        .program-card p {
            color: #666;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .program-details {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #666;
            font-size: 0.9rem;
        }

        .detail-item i {
            color: #667eea;
        }

        .program-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .program-price {
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
        }

        .program-status {
            font-size: 0.85rem;
        }

        .status-open {
            color: #28a745;
            font-weight: 600;
        }

        .status-closed {
            color: #dc3545;
            font-weight: 600;
        }

        .status-full {
            color: #ffc107;
            font-weight: 600;
        }

        .program-enroll-btn {
            width: 100%;
            padding: 0.75rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .program-enroll-btn:hover:not(:disabled) {
            transform: translateY(-2px);
        }

        /* Hero Buttons */
        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .cta-button.secondary {
            background: transparent;
            border: 2px solid #667eea;
            color: #667eea;
        }

        .cta-button.secondary:hover {
            background: #667eea;
            color: white;
        }

        @media (max-width: 768px) {
            .programs-grid {
                grid-template-columns: 1fr;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .program-details {
                flex-direction: column;
                gap: 0.5rem;
            }

            .program-footer {
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }
        }

        /* Partners Logos in About Section */
        .partners-logos-section {
            margin-top: 2rem;
            padding: 2rem 0;
            border-top: 1px solid #e9ecef;
        }

        .partners-logos-grid {
            display: flex;
            flex-direction: row;
            gap: 3rem;
            max-width: 100%;
            margin: 0 auto;
            align-items: center;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
        }

        .partners-logos-container {
            display: flex;
            animation: scroll-left 30s linear infinite;
            gap: 3rem;
            animation-delay: 2s;
        }

        .partners-logos-container:hover {
            animation-play-state: paused;
        }

        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .partner-logo-item {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            min-height: 80px;
            flex-shrink: 0;
            white-space: nowrap;
            cursor: pointer;
        }

        .partner-logo-item {
            text-decoration: none;
            color: inherit;
        }

        .partner-logo-item:focus {
            outline: 2px solid #5b6b9f;
            outline-offset: 2px;
        }

        .partner-logo-img {
            max-width: 100%;
            max-height: 60px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .partner-logo-placeholder {
            font-size: 2rem;
            color: #6c757d;
        }

        /* Imigongo-Inspired Decorative Patterns - Fixed to viewport edges */
        .imigongo-decoration {
            position: fixed;
            top: 0;
            left: 0;
            right: auto;
            width: 120px;
            height: 100vh;
            z-index: 0;
            pointer-events: none;
            opacity: 0.4;
            background-color: rgba(91, 107, 159, 0.1);
        }

        .imigongo-decoration-left {
            left: 0;
            right: auto;
        }

        .imigongo-decoration-right {
            left: auto;
            right: 0;
        }

        /* Single Diagonal Line Pattern */
        .imigongo-zigzag {
            background-color: rgba(91, 107, 159, 0.1);
            background-image: linear-gradient(
                45deg,
                transparent 0%,
                transparent 48%,
                #5b6b9f 49%,
                #5b6b9f 51%,
                transparent 52%,
                transparent 100%
            );
            background-size: 40px 40px;
        }

        /* Triangle Pattern */
        .imigongo-triangle {
            background-color: rgba(91, 107, 159, 0.1);
            background-image:
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 20px,
                    #5b6b9f 20px,
                    #5b6b9f 21px
                ),
                repeating-linear-gradient(
                    60deg,
                    transparent,
                    transparent 20px,
                    #4a5a8a 20px,
                    #4a5a8a 21px
                ),
                repeating-linear-gradient(
                    120deg,
                    transparent,
                    transparent 20px,
                    #5b6b9f 20px,
                    #5b6b9f 21px
                );
        }

        /* Square/Checkered Pattern */
        .imigongo-checker {
            background-color: rgba(91, 107, 159, 0.1);
            background-image:
                linear-gradient(45deg, #5b6b9f 25%, transparent 25%),
                linear-gradient(-45deg, #5b6b9f 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #5b6b9f 75%),
                linear-gradient(-45deg, transparent 75%, #5b6b9f 75%);
            background-size: 30px 30px;
            background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
        }

        /* Diagonal Stripe Pattern */
        .imigongo-diagonal {
            background-color: rgba(91, 107, 159, 0.1);
            background-image: repeating-linear-gradient(
                135deg,
                #5b6b9f,
                #5b6b9f 15px,
                #4a5a8a 15px,
                #4a5a8a 30px
            );
        }

        /* Vertical Stripe Pattern */
        .imigongo-vertical {
            background-color: rgba(91, 107, 159, 0.1);
            background-image: repeating-linear-gradient(
                90deg,
                #5b6b9f,
                #5b6b9f 12px,
                #4a5a8a 12px,
                #4a5a8a 24px
            );
        }

        /* Geometric Square Pattern */
        .imigongo-geometric {
            background-color: rgba(91, 107, 159, 0.1);
            background-image:
                linear-gradient(#5b6b9f 2px, transparent 2px),
                linear-gradient(90deg, #5b6b9f 2px, transparent 2px),
                linear-gradient(#4a5a8a 1px, transparent 1px),
                linear-gradient(90deg, #4a5a8a 1px, transparent 1px);
            background-size: 25px 25px, 25px 25px, 5px 5px, 5px 5px;
            background-position: 0 0, 0 0, 0 0, 0 0;
        }

        /* Section with Imigongo Decorations */
        section.imigongo-section,
        .imigongo-section {
            position: relative;
            overflow: visible;
        }

        /* Ensure decorations stay at viewport edges */
        body {
            position: relative;
            overflow-x: hidden;
        }

        /* Ensure content appears above decorations */
        section.imigongo-section > *:not(.imigongo-decoration),
        .imigongo-section > *:not(.imigongo-decoration) {
            position: relative;
            z-index: 1;
        }

        /* Container for sections with imigongo */
        section.imigongo-section {
            max-width: 1400px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .imigongo-decoration {
                width: 60px;
                opacity: 0.3;
            }
        }

        @media (max-width: 480px) {
            .imigongo-decoration {
                width: 40px;
                opacity: 0.2;
            }
        }

        @media (max-width: 768px) {
            .partners-logos-grid {
                gap: 2rem;
            }

            .partners-logos-container {
                gap: 2rem;
            }

            .partner-logo-item {
                padding: 0.75rem;
                min-height: 60px;
            }

            .partner-logo-img {
                max-height: 40px;
            }
        }

        @media (max-width: 480px) {
            .partners-logos-grid {
                gap: 1.5rem;
            }

            .partners-logos-container {
                gap: 1.5rem;
            }

            .partner-logo-item {
                padding: 0.5rem;
                min-height: 50px;
            }

            .partner-logo-img {
                max-height: 35px;
            }
        }
