@import url('header.css');
@import url('footer.css');
@import url('buttons.css');
@import url('content-blocks.css');
@import url('contact-section.css');
@import url('body.css');
@import url('responsive.css');

:root {
    --primary-color: #0052cc;
    --secondary-color: #4d94ff;
    --text-color: #ffffff;
    --background-dark: rgba(0, 0, 0, 0.95);
    --transition-speed: 0.3s;
}

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

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

/* Common transitions */
.transition-all {
    transition: all var(--transition-speed) ease;
}

/* Common hover effects */
.hover-translate {
    transition: transform var(--transition-speed) ease;
}

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

header {
    color: #fff;
    width: 100%;
    padding: 20px;
}

h1 a {
    color: inherit;
    text-decoration: none;
}

h1 a:hover {
    color: #0088cc;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
}

.header-container>h1 {
    margin-left: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.overlay.active {
    visibility: visible;
}

.code-example {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}

.code-example code {
    color: #333;
}

.resource-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 0;
    transition: background-color var(--transition-speed);
}

.resource-link:hover {
    background-color: var(--secondary-color);
}

.text-side2 {
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 20px;
    color: var(--text-color);
}

.courier-font {
    font-family: 'Courier Prime', monospace !important;
    font-weight: 700;
}

.card {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.card-body {
    position: relative;
    z-index: 1;
}

.border-primary {
    border-width: 2px !important;
}

.list-group-item {
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.display-4 {
    font-family: 'Courier Prime', monospace;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.btn {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stop-cursor,
.typing-animation {
    display: none;
}

.typed-cursor {
    display: none !important;
}

.container-fluid {
    padding: 1rem;
}

.min-vh-100 {
    padding: 2rem 0;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.about-section {
    padding: 4rem 0;
}

.about-card {
    background-color: #0048ce;
    border-radius: 15px;
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

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

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #57a3fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-card {
    background-color: #57a3fa;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: #0245ff;
}

.section-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bio-link {
    text-decoration: none;
    color: inherit;
}

.bio-link:hover {
    color: inherit;
}

.biography-section {
    color: var(--text-color);
}

.biography-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.biography-section .content-block {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--secondary-color);
}

.biography-section ul {
    list-style-type: none;
    padding-left: 1rem;
}

.biography-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.biography-section ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.biography-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: transform 0.3s ease;
}
@media (hover: none) {
    .biography-card:active {
        transform: scale(0.98);
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #1102e0;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0062da;
}

tr:nth-child(even) {
    background-color: #3954df;
}

.clarity-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.assessment-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.criteria-item h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.criteria-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.reflection-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.reflection-block h4 {
    color: #57a3fa;
    margin-bottom: 15px;
}

.reflection-block ul {
    margin-bottom: 20px;
}

.table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 20px 0;
}

.table th {
    color: #57a3fa;
    border-bottom: 2px solid rgba(87, 163, 250, 0.2);
}

.table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper {
    width: 350px;
    height: 450px;
}

.analysis-section,
.code-analysis-section,
.comparison-section,
.reflection-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.analysis-section h4,
.code-analysis-section h4,
.reflection-section h4 {
    color: #57a3fa;
    margin: 15px 0;
}

.comparison-table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 10px;
    border: 1px solid rgba(87, 163, 250, 0.2);
    text-align: left;
}

.comparison-table th {
    background: rgba(87, 163, 250, 0.1);
    color: #57a3fa;
}

.hover-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.feature-card {
    background: rgba(14, 96, 219, 0.9);
    border-radius: 10px;
    transition: transform 0.2s;
}

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

.fade-up-delayed {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.news-card {
    transition: transform 0.2s ease;
    height: 100%;
}

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

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-card .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
}

.news-card {
    transition: transform 0.2s, box-shadow 0.2s;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.news-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.btn-outline-light {
    border-width: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.weather-info {
    color: #fff !important;
}

.weather-info .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.weather-info .badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .card-columns {
        column-count: 1;
    }
}

.video-container {
    margin: 2rem 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sitemap-container {
    background: rgba(13, 110, 253, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid rgba(13, 110, 253, 0.2);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.1);
}

.sitemap {
    list-style: none;
    padding-left: 0;
}

.sitemap ul {
    list-style: none;
    padding-left: 2.5rem;
    margin-top: 0.75rem;
}

.sitemap li {
    margin: 0.75rem 0;
    position: relative;
}

.sitemap a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.sitemap a:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

.category-label {
    color: #0d6efd;
    font-weight: bold;
    display: block;
    margin: 1.5rem 0 0.75rem;
    border-bottom: 2px solid rgba(13, 110, 253, 0.3);
    padding-bottom: 0.5rem;
    font-size: 1.1em;
}

.sitemap ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    width: 1rem;
    height: 2px;
    background: rgba(13, 110, 253, 0.3);
}

.sitemap ul li::after {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(13, 110, 253, 0.3);
}

.sitemap ul li:last-child::after {
    height: 1rem;
}

.sitemap-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
    margin-top: 1.5rem;
}

.sitemap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    background: linear-gradient(45deg, #0a58ca, #084298);
    color: white;
}

/* ...existing code... */

