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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column; 
}

.header-top {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #555;
    height: 60px;
}

.header-title {
    border: 2px solid white;
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.header-img-link {
    color: white;
    text-decoration: none;
    border: 1px solid white;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #444;
}

.header-nav {
    padding: 15px 20px;
    background-color: #444; 
    display: flex;
    align-items: center;
    height: 60px; 
    border-bottom: 3px solid #222;
}

.header-nav nav {
    display: flex;
    gap: 10px;
    width: 100%;
}

.header-nav nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #777;
    background: #555;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.header-nav nav a:hover, .header-nav nav a.active {
    background-color: #1abc9c;
    border-color: #1abc9c;
}

.container {
    display: flex;
    flex: 1;
    border: 1px solid #999;
    margin: 20px;
    background: white;
}

aside {
    width: 200px;
    border-right: 1px solid #999;
    background-color: #eee;

}

/* Main */
main {
    flex: 1;
    padding: 30px;
    position: relative;
}

.horizontal-gallery {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.square {
    width: 60px;
    height: 60px;
    border: 2px solid black;
    background: #ddd;
}

.main-bottom-link {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.main-bottom-link a {
    border: 2px solid black;
    padding: 5px 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    background: #fff;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    border-top: 3px solid #222;
}

.footer-icons {
    display: flex;
    justify-content: center; 
    gap: 15px;
    margin-bottom: 15px;
}

.box {
    width: 50px;
    height: 50px;
    border: 2px solid #777;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 0.7rem;
    background: #555;
}

.copyright {
    font-size: 0.8rem;
    color: #bbb;
}


/* About Me */
.profile-section {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%; 
    border: 3px solid #333;
    overflow: hidden; 
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.about-details {
    margin-bottom: 20px;
    background-color: #fdfdfd;
    padding: 15px;
    border-left: 5px solid #1abc9c;
}

.about-details h3 {
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.photos-gallery {
    display: flex;
    gap: 10px;     
    margin-top: 15px;
    justify-content: space-between; 
    flex-wrap: wrap;    
}

.photos-gallery img {
    width: calc(25% - 10px);
    aspect-ratio: 1 / 1; 
    object-fit: cover;   
    border: 2px solid #dddddd00;
}

/* Topic */
.topic-list {
    list-style-type: disc; 
    padding-left: 20px;    
    text-align: left;      
    margin-top: 15px;
}

.topic-list li {
    margin-bottom: 8px;   
    color: #333;
    font-size: 0.9rem;
}

.download-btn {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    border: 1px solid #34495e;
}

/* Contatc */

.simple-form {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
    max-width: 600px; 
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    width: 80px; 
    font-weight: bold;
    color: #333;
}

.form-group input, 
.form-group textarea {
    flex: 1; 
    padding: 10px;
    border: 1px solid #ccc;
}


.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-left: 80px; 
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    background: #f0f0f0;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

.send-btn {
    background-color: #2c3e50;
    color: white;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.send-btn:hover {
    background-color: #1abc9c;
}

/* Degree */

.table-container {
    margin-top: 20px;
}

.degree-table {
    width: 100%;
    border-collapse: collapse; 
    font-size: 1rem;
}

.degree-table th, 
.degree-table td {
    border: 1px solid #000;
    padding: 10px;        
    text-align: left;
    color: #000;      
}


.degree-table thead th {
    background-color: #e0e0e0;
    font-weight: bold;
}

.highlight-row a {
    color: #1abc9c; 
    text-decoration: underline;
}

/* net */

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

.net-card {
    border: 1px solid #000; 
    padding: 20px;
    text-align: center;
    background-color: #fff;

}

.net-card h3 {
    margin-top: 0;
    color: #333;
}

.btn-visit {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #eee;
    color: #000;
    text-decoration: none;
    border: 1px solid #aaa;
    font-weight: bold;
}

/* fce */

.btn-back {
    display: block;   
    text-align: center;   
    margin-top: 20px;  
}

.objectives-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.objectives-list li {
    margin-bottom: 8px;
}

.course-meta {
    background-color: #f9f9f9;
    padding: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

/* extra footer css */

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

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