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

        body {
            font-family: 'Open Sans', sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f8f9fa url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="%23e0e0e0"/></svg>') repeat;
        }

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

        /* Header */
        .header {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar-inner {
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }

        .navbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo h1 {
            font-family: 'Questrial', sans-serif;
            font-size: 2rem;
            color: #2c5282;
            font-weight: 600;
            text-decoration: none;
        }

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

        .navigation-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .social-media {
            display: flex;
            gap: 10px;
        }

        .social-media span {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #7bb1dd;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .social-media span:hover {
            background: #5a8db3;
        }

        /* Navigation */
        .main-navigation {
            background: #2c5282;
        }

        .menu {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 0;
        }

        .menu li {
            position: relative;
        }

        .menu a {
            display: block;
            padding: 15px 20px;
            color: #fff;
            text-decoration: none;
            transition: background 0.3s ease;
        }

        .menu a:hover,
        .menu .active {
            background: #1a365d;
        }

        .menu .expanded:hover .submenu {
            display: block;
        }

        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #1a365d;
            min-width: 200px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            z-index: 1000;
        }

        .submenu a {
            padding: 10px 15px;
            border-bottom: 1px solid #2c5282;
        }

        .submenu a:hover {
            background: #2c5282;
        }

        /* Main Content */
        .main-content {
            padding: 40px 0;
            min-height: 60vh;
        }

        h1 {
            font-family: 'Questrial', sans-serif;
            font-size: 2.5rem;
            color: #2c5282;
            margin-bottom: 30px;
            text-align: center;
        }

        article {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        article h2 {
            font-family: 'Questrial', sans-serif;
            color: #2c5282;
            margin: 30px 0 20px;
            font-size: 1.8rem;
        }

        article h3 {
            color: #2c5282;
            margin: 25px 0 15px;
            font-size: 1.4rem;
        }

        article p {
            margin-bottom: 20px;
            font-size: 1rem;
            text-align: justify;
        }

        .transition-section {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        /* Links Section */
        {% if links %}
        .links-section {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        .links-section h3 {
            font-family: 'Questrial', sans-serif;
            color: #2c5282;
            font-size: 1.5rem;
            margin-bottom: 20px;
            border-bottom: 2px solid #7bb1dd;
            padding-bottom: 10px;
        }

        .links-section ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .links-section li {
            background: #f8f9fa;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .links-section li:hover {
            background: #e3f2fd;
            transform: translateY(-2px);
        }

        .links-section a {
            display: block;
            padding: 15px 20px;
            color: #2c5282;
            text-decoration: none;
            border-left: 4px solid #7bb1dd;
        }

        .links-section a:hover {
            color: #1a365d;
        }
        {% endif %}

        /* Footer */
        .footer {
            background: #2c5282;
            color: #fff;
            padding: 40px 0 20px;
            margin-top: 50px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 20px;
        }

        .footer-section h4 {
            font-family: 'Questrial', sans-serif;
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: #fff;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section a {
            color: #b3d1ff;
            text-decoration: none;
            line-height: 1.8;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #fff;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #4a6fa5;
            color: #b3d1ff;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .navbar-content {
                flex-direction: column;
                gap: 20px;
            }

            .menu {
                flex-direction: column;
                width: 100%;
            }

            .submenu {
                position: static;
                display: none;
                background: #1a365d;
                box-shadow: none;
            }

            .menu .expanded:hover .submenu {
                display: block;
            }

            h1 {
                font-size: 2rem;
            }

            article {
                padding: 20px;
            }

            .links-section {
                padding: 20px;
            }

            .links-section ul {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }

            h1 {
                font-size: 1.8rem;
            }

            article h2 {
                font-size: 1.5rem;
            }

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