:root {
            --primary: #2a5caa; 
            --secondary: #f39c12; 
            --accent: #e74c3c; 
            --dark: #2c3e50;
            --light: #ecf0f1;
            --gray: #95a5a6;
            --transition: all 0.3s ease;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
            --max-width: 1200px;
            --side-width: 250px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background-color: #f9f9f9;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
        }
        .my-logo i {
            color: var(--secondary);
            margin-right: 10px;
        }
        .my-logo:hover {
            color: var(--accent);
        }
        .search-form {
            display: flex;
            max-width: 400px;
            width: 100%;
        }
        .search-form input {
            flex-grow: 1;
            padding: 10px 15px;
            border: 2px solid var(--gray);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-form button:hover {
            background-color: var(--accent);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--primary);
            cursor: pointer;
        }
        .nav-container {
            background-color: var(--dark);
        }
        .nav-menu {
            display: flex;
            list-style: none;
            justify-content: center;
        }
        .nav-menu li {
            position: relative;
        }
        .nav-menu a {
            color: var(--light);
            display: block;
            padding: 15px 20px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.95rem;
        }
        .nav-menu a:hover {
            background-color: var(--primary);
            color: white;
        }
        .breadcrumb {
            padding: 15px 0;
            background-color: var(--light);
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: ">";
            margin: 0 10px;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .main-layout {
            display: flex;
            gap: 30px;
            padding: 30px 0;
        }
        .content-main {
            flex: 1;
            min-width: 0; 
        }
        .sidebar {
            width: var(--side-width);
            flex-shrink: 0;
        }
        article {
            background-color: white;
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }
        h1 {
            color: var(--primary);
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--secondary);
            padding-bottom: 15px;
        }
        h2 {
            color: var(--dark);
            font-size: 1.8rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--light);
        }
        h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: var(--secondary);
            font-size: 1.2rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 2rem;
        }
        .highlight-box {
            background-color: #f8f9fa;
            border-left: 4px solid var(--secondary);
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 25px 0;
        }
        .stat-card {
            background: linear-gradient(135deg, var(--primary), #1a3a7a);
            color: white;
            padding: 20px;
            border-radius: var(--border-radius);
            text-align: center;
            box-shadow: var(--shadow);
        }
        .stat-card i {
            font-size: 2rem;
            margin-bottom: 10px;
            color: var(--secondary);
        }
        .stat-card .number {
            font-size: 2.2rem;
            font-weight: 800;
            display: block;
            line-height: 1;
        }
        .stat-card .label {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        .figure {
            margin: 30px 0;
            text-align: center;
        }
        .figure img {
            box-shadow: var(--shadow);
            margin-bottom: 10px;
        }
        .caption {
            font-size: 0.9rem;
            color: var(--gray);
            font-style: italic;
        }
        .quote {
            font-size: 1.2rem;
            color: var(--primary);
            border-left: 5px solid var(--accent);
            padding-left: 20px;
            margin: 25px 0;
            font-weight: 600;
        }
        .note {
            background-color: #fff8e1;
            border: 1px dashed var(--secondary);
            padding: 15px;
            border-radius: var(--border-radius);
            margin: 20px 0;
            display: flex;
            align-items: flex-start;
        }
        .note i {
            color: var(--secondary);
            margin-right: 10px;
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 3px;
        }
        ul, ol {
            margin-left: 20px;
            margin-bottom: 1.2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        strong {
            color: var(--primary);
        }
        em {
            color: var(--secondary);
        }
        .widget {
            background-color: white;
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 25px;
        }
        .widget-title {
            font-size: 1.2rem;
            color: var(--dark);
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--light);
            display: flex;
            align-items: center;
        }
        .widget-title i {
            margin-right: 10px;
            color: var(--primary);
        }
        .link-list a {
            display: block;
            padding: 10px 0;
            border-bottom: 1px dashed #eee;
            color: var(--dark);
        }
        .link-list a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        .link-list a:last-child {
            border-bottom: none;
        }
        .update-info {
            font-size: 0.9rem;
            color: var(--gray);
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: var(--border-radius);
        }
        .interactive-section {
            background-color: white;
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }
        .interactive-section h2 {
            margin-top: 0;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(42, 92, 170, 0.1);
        }
        .rating-stars {
            display: flex;
            gap: 5px;
            direction: ltr; 
        }
        .rating-stars input {
            display: none;
        }
        .rating-stars label {
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-stars label:hover,
        .rating-stars label:hover ~ label {
            color: var(--secondary);
        }
        .rating-stars input:checked ~ label {
            color: var(--secondary);
        }
        .rating-stars input:checked + label ~ label {
            color: #ddd;
        }
        .btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn i {
            margin-right: 8px;
        }
        .btn:hover {
            background-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
        }
        .btn-secondary {
            background-color: var(--gray);
        }
        .btn-secondary:hover {
            background-color: #7f8c8d;
        }
        footer {
            background-color: var(--dark);
            color: var(--light);
            padding: 40px 0 20px;
            margin-top: 40px;
        }
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
            margin-bottom: 30px;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 15px;
            display: block;
        }
        .footer-about {
            flex: 1;
            min-width: 250px;
        }
        .footer-links {
            flex: 1;
            min-width: 200px;
        }
        .footer-links h3,
        .footer-social h3 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 20px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary);
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links li {
            margin-bottom: 10px;
        }
        .footer-links a {
            color: #bdc3c7;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        .footer-social .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #34495e;
            color: white;
            border-radius: 50%;
            font-size: 1.2rem;
        }
        .social-icons a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }
        friend-link {
            display: block;
            padding: 5px 0;
            color: var(--secondary);
        }
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #34495e;
            color: #95a5a6;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            .main-layout {
                flex-direction: column;
            }
            .sidebar {
                width: 100%;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .search-form {
                order: 3;
                margin-top: 15px;
                max-width: 100%;
            }
            .hamburger {
                display: block;
            }
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: var(--dark);
                box-shadow: var(--shadow);
            }
            .nav-menu.active {
                display: flex;
            }
            .nav-menu a {
                padding: 15px 20px;
                border-bottom: 1px solid #34495e;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            article,
            .interactive-section {
                padding: 20px;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
            .footer-content {
                flex-direction: column;
            }
        }
