p,
h1,
h2,
h3,
h4,
h5,
h6,
button {
    font-family: "Roboto", serif;
}

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

/*#region navBar*/
.nav-bar {
    width: 100%;
    background-color: #1C539F;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding: 10px 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
    flex-wrap: wrap;
    flex-wrap: nowrap;
}

.logo-touch-target {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-width: 350px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-right: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.35s ease-in-out;
}

.nav-links a:hover {
    color: #f7ba2a;
    text-decoration: underline;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: 20px;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Responsive styles */
@media (max-width: 800px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #1C539F;
        width: 100%;
        margin-top: 10px;
        padding: 15px 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

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

    .nav-links a {
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
    }
}

/*#endregion */

/*#region Profile/about-me*/
.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1C539F;
    color: white;
    padding: 60px 40px;
    flex-wrap: wrap;
}

.profile-text {
    flex: 1;
    padding-right: 30px;
}

.intro {
    color: #f7ba2a;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 10px 0;
}

.highlight {
    color: #f7ba2a;
}

.subtitle {
    background-color: #1e40af;
    display: inline-block;
    padding: 10px 18px;
    margin: 16px 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
}

.description {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 20px;
    font-weight: 500;
}

.profile-buttons {
    margin-top: 30px;
}

.btn {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    margin-right: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3b82f6;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid whitesmoke;
    color: whitesmoke;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

.profile-image {
    flex: 1;
    text-align: center;
}

.profile-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #f7ba2a;
    object-fit: cover;
}

.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-btn:hover {
    color: #f7ba2a;
    border-color: #f7ba2a;
}

/* GitHub Section Styles */
.github-section {
    padding: 80px 40px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: #f7ba2a;
}

.section-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* GitHub Section Styles */
.github-section {
    padding: 80px 40px;
    background-color: #f8fafc;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: #f7ba2a;
}

.section-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.github-widgets {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contribution Card */
.contribution-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.contribution-card .card-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, #1C539F 0%, #3b82f6 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.contribution-card .card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contribution-chart {
    width: 100%;
    padding: 20px;
    display: block;
}

/* Stats Container */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.stats-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 300px;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stats-card .card-header {
    padding: 20px;
    background: linear-gradient(135deg, #1C539F 0%, #3b82f6 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-card .card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.stats-card img {
    width: 100%;
    padding: 20px;
    display: block;
}

/* Common Elements */
.card-icon {
    font-size: 24px;
    color: #f7ba2a;
}

.github-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
}

.github-link:hover {
    color: #f7ba2a;
    background: rgba(255, 255, 255, 0.2);
}

.github-link i {
    font-size: 12px;
}

@media (max-width: 900px) {
    .github-widgets {
        flex-direction: column;
        align-items: center;
    }

    .github-card {
        width: 100%;
    }

    .section-title {
        font-size: 36px;
    }

    .stats-container {
        flex-direction: column;
    }

    .stats-card {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-text {
        padding-right: 0;
        text-align: center;
    }

    .profile-image {
        margin-top: 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .github-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/*#endregion */

/*#region Education*/
.education-section {
    padding: 40px 20px;
    background-color: #f7f9fc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1d539f;
    margin-bottom: 40px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.edu-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    transform: translateY(-8px);
}

.edu-img-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.edu-content {
    padding: 20px;
}

.degree {
    font-size: 20px;
    font-weight: 600;
    color: #1d539f;
    margin-bottom: 5px;
}

.school,
.edu-years {
    font-size: 16px;
    color: #6b7280;
}

.edu-desc {
    font-size: 15px;
    color: #374151;
    margin-top: 10px;
    line-height: 1.5;
}

.edu-skills {
    margin-top: 15px;
}

.edu-skills h4 {
    font-size: 16px;
    color: #1d539f;
    margin-bottom: 8px;
}

.edu-skills ul {
    list-style: none;
    padding: 0;
}

.edu-skills li {
    font-size: 14px;
    color: #4b5563;
    padding-left: 15px;
    position: relative;
    margin-bottom: 5px;
}

.edu-skills li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1d539f;
}

.edu-certs {
    margin-top: 20px;
}

.edu-certs h4 {
    font-size: 16px;
    color: #1d539f;
    margin-bottom: 8px;
}

.edu-certs ul {
    list-style: none;
    padding: 0;
}

.edu-certs li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 5px;
}

.edu-certs li a {
    color: #1d539f;
    text-decoration: none;
}

.edu-certs li a:hover {
    text-decoration: underline;
}

.cert-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
}

.certification-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    padding: 20px;
    flex: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.cert-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease;
}

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

.cert-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.cert-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 12px;
}

.cert-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}

.cert-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d539f;
    margin: 0;
}

.cert-org,
.cert-year {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
}

.cert-desc {
    font-size: 14px;
    color: #333;
    margin-top: 8px;
    line-height: 1.5;
}

.cert-skills {
    margin-top: 15px;
}

.cert-skills h4 {
    font-size: 15px;
    color: #1d539f;
    margin-bottom: 6px;
}

.cert-skills ul {
    list-style: none;
    padding-left: 0;
}

.cert-skills li {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}

.cert-skills li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1d539f;
}

.span {
    background: #e0f0ff;
    color: #1d539f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

/*#endregion */

/*#region Work/Experience*/
.experience-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-header {
    color: #1d539f;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #1d539f;
    margin: 15px auto 0;
    opacity: 0.3;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: #1d539f;
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -180px;
    /* Increased to accommodate dates */
    top: 0;
    width: 150px;
    display: grid;
    grid-template-areas:
        "start dot"
        "end dot";
    grid-template-columns: auto 20px;
    align-items: center;
}

.timeline-dot {
    grid-area: dot;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #1d539f;
    box-shadow: 0 0 0 3px rgba(29, 83, 159, 0.1);
    justify-self: center;
}

.start-date {
    grid-area: start;
    text-align: right;
    padding-right: 15px;
    margin-bottom: 5px;
}

.end-date {
    grid-area: end;
    text-align: right;
    padding-right: 15px;
    margin-top: 5px;
}

.timeline-date {
    font-size: 0.9rem;
    color: #1d539f;
    font-weight: 600;
    line-height: 1.4;
}

.timeline-date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d539f;
    line-height: 1.3;
    text-align: center;
}

.experience-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(29, 83, 159, 0.1);
}

.experience-title h2 {
    color: #1d539f;
    margin: 0;
    font-size: 1.4rem;
}

.experience-title h3 {
    color: #555;
    margin: 5px 0;
    font-weight: 500;
    font-size: 1.1rem;
}

.experience-meta {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
}

.experience-meta .location {
    display: flex;
    align-items: center;
}

.experience-meta .location i {
    margin-right: 5px;
}

.experience-description {
    padding-left: 20px;
    color: #444;
    line-height: 1.6;
}

.experience-description li {
    margin-bottom: 8px;
    position: relative;
}

.experience-description li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1d539f;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #1d539f, transparent);
    opacity: 0.2;
    margin: 20px auto;
    max-width: 800px;
}

.projects-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 83, 159, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-title {
    color: #1d539f;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.project-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(29, 83, 159, 0.1);
    color: #1d539f;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {

    .timeline-date {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 10px;
        left: 0;
    }

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

}

/*#endregion */

/*#region Hobbies*/
.hobbies-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.hobbies-intro h1 {
    font-size: 42px;
    color: #1d539f;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.intro-text {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.achievement-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.badge {
    background: linear-gradient(135deg, #1d539f 0%, #3a7bd5 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(29, 83, 159, 0.2);
}

.badge .icon {
    font-size: 20px;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.hobby-tile {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: auto;
}

.hobby-tile.expanded {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hobby-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hobby-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hobby-tile:hover .hobby-visual img {
    transform: scale(1.05);
}

.hobby-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(29, 83, 159, 0.7) 0%, transparent 100%);
}

.hobby-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hobby-content h3 {
    font-size: 22px;
    color: #1d539f;
    margin: 0 0 15px;
    font-weight: 600;
}

.hobby-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #e0f0ff;
    color: #1d539f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.hobby-stats {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.love-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.love-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Recommendations section */
.recommendations {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.hobby-tile.expanded .recommendations {
    max-height: 500px;
    margin-top: 20px;
}

.recommendations h4 {
    color: #1d539f;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.recommendation-list {
    padding-left: 20px;
    margin: 0;
}

.recommendation-list li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hobbies-grid {
        grid-template-columns: 1fr;
    }

    .achievement-badges {
        flex-direction: column;
        align-items: center;
    }
}

/*#endregion */

/*#region Map*/
.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h2 {
    font-size: 36px;
    color: #1d539f;
    font-weight: 600;
}

.map-header p {
    color: #555;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    padding: 40px;
}

.map {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}

.places-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.place-card {
    position: relative;
    height: 400px;
    width: 100%;
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 20px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.place-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.card-back {
    background-color: #f8f8f8;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-back h3 {
    color: #1d539f;
    margin-bottom: 15px;
    text-align: center;
}

.notable-list {
    padding: 0 20px;
}

.notable-list li {
    margin-bottom: 10px;
    color: #555;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideFade 10s infinite;
}

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

@keyframes slideFade {

    0%,
    100% {
        opacity: 0;
    }

    5%,
    25% {
        opacity: 1;
    }
}

.place-details {
    padding: 15px;
}

.place-details h2 {
    font-size: 20px;
    color: #1d539f;
    margin: 0 0 10px 0;
}

.place-details p {
    color: #555;
    margin: 0;
}

/*#endregion */

/*#region TimeLine*/

/* Timeline Container */
.social-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.social-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.author-avatar.square {
    background-color: #1d539f;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info {
    flex: 1;
    margin-left: 12px;
    line-height: 1.3;
    overflow: hidden;
}

.author-info h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-email {
    display: block;
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-content {
    margin: 15px 0 0 62px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-content p {
    margin: 0;
}

.post-options {
    position: relative;
    cursor: pointer;
    margin-left: auto;
}

.options-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 10;
    display: none;
    min-width: 120px;
}

.options-menu.show {
    display: block;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    margin-right: 20px;
}

.author-details input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.post-input {
    margin-top: 15px;
    margin-right: 20px;
}

.post-input textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
}

.post-actions {
    margin-top: 15px;
    text-align: right;
}

.post-button {
    background: #1d539f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.post-options {
    position: relative;
    cursor: pointer;
}

.options-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 10;
    display: none;
    min-width: 120px;
}

.options-menu button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-align: left;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.options-menu button:hover {
    background: #f5f5f5;
}

.options-menu i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.options-menu.show {
    display: block;
}

/*#endregion */

.site-footer {
    background-color: #1C539F;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.footer-icons a {
    color: #ffffff;
    font-size: 1.6rem;
    transition: transform 0.2s, color 0.3s;
}

.footer-icons a:hover {
    color: #FFDD57;
    transform: scale(1.2);
}
