/*
 * UoP Robotics Team - Website Core
 * Copyright (C) 2026 UoP Robotics Team <roboticsteam@go.uop.gr>
 * * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 */
*,*::before, *::after {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg-color: #f8f9fa;
    --text-main: #012865;
    --text-muted: #555555;
    --primary-color: #012865;
    --accent-color: #0d4cff;
    --card-bg: #fefefe;
    --shadow-soft: 0 10px 30px rgba(1, 40, 85, 0.09);
    --shadow-hover: 0 15px 40px rgba(1, 40, 85, 0.25);
    --transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
html {
    scroll-behavior: smooth;
}
body{
    background-color:#f8f9fa; /*Fallback for older browsers*/
    background-color: var(--bg-color);
    color: #012865; /*Fallback for older browsers*/
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}
p {
    -webkit-hyphens: auto;
    -ms-hypens: auto;
    hyphens: auto;
}
#privacy-policy {
    margin-top: 0;
    background: whitesmoke;
    text-align: start;
}
#backHome {
    font-size: 1.7rem;
    outline-style: solid var(--text-muted) 2px;
}
#privacy-policy p, #privacy-policy ul, #privacy-policy h3, #privacy-policy h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
}
#navBarPrivacy {
    background:linear-gradient(45deg, var(--accent-color) 0%, var(--primary-color) 100%, var(--text-main) 100%) !important;
}
.custom-navbar {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: url('assets/images/Banner.png');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    /*background-color: rgba(1, 40, 85, 0.95) !important;*/
    padding: 15px 0;
    transition: var(--transition);
}
.navbar-brand {font-weight: 750; color: rgba(1, 40, 85, 0.95) !important;
font-size:large;}
.nav-link {color: rgba(255,255,255, 0.85)!important; 
    font-weight: 550; margin: 0 10px; cursor: pointer;
    font-size: large;
}
.nav-link:hover, .nav-link.active {
    color: #fefefe !important;}
#home {
    min-height: 100vh; display:flex; align-items:center; 
    background: linear-gradient(135deg,rgb(0, 0, 0) 10%, rgba(1, 40, 85, 0.450) 100%), url('assets/images/2nd_place_award_ceremony.jpeg');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 50px;
}
.img-thumbnail {
    background-color: var(--primary-color) !important;
    box-shadow: #555555;
    border-color: var(--card-bg) !important;
}
#photo_1 {
    border-radius: 50%;
    border: 2px solid var(--card-bg) !important;
}
.hero-img {
    width: 300px; height: 300px; object-fit: cover;
    align-items: center;
    filter: brightness(1.0);
}
@media screen and (min-width: 992px) {
    .hero-img {
        margin-left: 120px;
    }
}
@media screen and (max-width: 992px) {
    #home .row {
        text-align: center;
    }
    #contactLink {
        margin-top: 20px;
    }
}
.section-title {text-align: center; margin-bottom: 60px; position: relative;}
.section-title::after{
    content: ''; width: 50px; height: 4px; background: var(--accent-color);
    position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
}
.section-subtitle  {text-align: center; margin-bottom: 60px; position: relative; color:var(--primary-color);}
.section-subtitle::after{
    content: ''; width: 50px; height: 4px; background: var(--accent-color);
    position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
}
#contactLink, #joinUsLink , #joinUsLink2{
    margin-bottom: 25px;
    display: inline-block;
    font-weight: 650;
    transition: var(--transition);
}
#joinUsLink {
    color: var(--accent-color); background: var(--bg-color);
}
#joinUsLink2 {
    color: var(--bg-color);
    background: linear-gradient(to left, var(--text-main), var(--accent-color));
    border: solid 2px var(--accent-color);
}
#joinUsLink2:hover{
    color: var(--primary-color);
    background: linear-gradient(to left, var(--card-bg), var(--bg-color));
    border: solid 2px var(--card-bg);
}
#learnMoreLinkBtn {
    color: var(--bg-color);
    background: linear-gradient(to left, var(--text-main), var(--accent-color));
    border: solid 3px linear-gradient(to right, var(--text-main), var(--accent-color));
    font-weight: 700;
    font-size: 1.1rem;
}
#contactLink:hover {
    color: var(--bg-color);
    cursor: pointer;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
#joinUsLink:hover {
    color: var(--bg-color);
    cursor: pointer;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.about-text {
    color: var(--primary-color);
    text-align: justify;
}
#about h1, #about h3, #about h5 {
    color: var(--primary-color);
}
#location-map  h3{
    color: var(--primary-color);
    text-align:center
}
#history p, #history h2 {
    color: var(--bg-color);
}
#sponsors {
    color: var(--primary-color);
    text-align: center;
}
.left {left:0;}
.right {left:50%;}
.right::after {left: -10px;}
.content {padding: 20px 30px; background-color: white;
    position: relative; border-radius: 15px;box-shadow: var(--shadow-shoft);
    text-align: left; justify-content: center;
}
@media screen and (max-width: 768px) {
    .timeline::after{
        left: 31px;
    }
    .timeline-container {width:100%; padding-left: 70px; padding-right: 25px;}
    .timeline-container::after{left: 21px;}
    .right{left: 0%;}
}
p {
    text-align:justify;
    line-height: 1.2;
}
/*Carousel*/
.carousel {border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-hover);}
.carousel-item img {
    height: 720px; object-fit: cover;
}
.skill-badge {background: var(--primary-color); color: var(--bg-color); padding: 8px 15px; 
    border-radius: 10px; margin: 5px; display: inline-block;
    font-weight: 550;
}
iframe {
        border: 0;
}
.fa-location-dot {
        color: rgba(204, 7, 7, 0.699);
}
.map-container {
    display: block;
    padding: 25px 50px;
}
.reveal {opacity: 0; transform: translateY(30px); transition: all 0.85s ease-in-out;}
.reveal.active {opacity: 1; transform: translateY(0);}
#timeline-card {
    background: var(--bg-color);
    box-shadow: var(--shadow-soft);
}
#timeline-card:hover {
    cursor: pointer;
    transition: all  1s ease-in-out;
    transform: translateY(-10px);
}
small {
    text-align: justify;
    color: var(--primary-color);
}
.content p, .tribute-container p{
    color:var(--text-main);
    -webkit-hyphens: auto;
    -ms-hypens: auto;
    hyphens: auto;
    text-align: justify;
}
.tribute-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tribute h2 {
    color: var(--primary-color);
}
#timeline-card-title {
    color:var(--primary-color);
}
#timeline-year {
    color: var(--text-muted);
}
/*Timeline Styling*/
.timeline {position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0;}
.timeline::after {content: ''; position: absolute; width: 4px; background: var(--bg-color);
    top:0; bottom: 0; left: 50%; margin-left: -2px;
}
.timeline-container {
    padding: 10px 40px; position: relative; width: 50%;
}
.history{
    background: var(--primary-color);
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
}
.timeline-container::after {
    content: ''; position: absolute; width: 20px; height: 20px; 
    right: -10px; background-color: white;
    border: 4px solid red;
    top:15px;
    border-radius: 50%;
    z-index: 1;
}
.team-member-card img {
    border: 3px solid;
    border-color: var(--primary-color) !important;
}
/*Marquee Styling*/
.tech-marquee-container {
    overflow:hidden;
    background-color: var(--text-main);
    color: var(--card-bg);
    padding: 20px 0;
    white-space: nowrap;
}
.tech-marquee {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
.tech-marquee span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1.0rem;
    font-weight: 400;
    margin: 0 40px;
    text-transform: uppercase;
}
.sponsors-marquee-container {
    overflow: hidden;
    background: var(--card-bg);
    padding: 20px 0;
    white-space: nowrap;
}
.sponsors-marquee{
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.sponsors-marquee span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 40px;
}
.sponsors-marquee img {
    height: 100px;
    width: auto;
    filter: grayscale(15%);
    transition: var(--transition);
}
.sponors-marquee img:hover {
    filter: grayscale(0%);
}
.platinum-sponsor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}
@keyframes marquee {
    from { transform: translateX(0);}
    to { transform: translateX(-50%);}
}
.history h2 {
    color: rgba(1, 40, 85, 0.95);
}
#projectCard img {
    object-fit: cover;
    height: 200px;
    width: 100%;
    border: var(--accent-color) 8px solid;
    margin-bottom: 10px;
}
#projectCard i, #projectCard span {
    position: absolute; top: 15px; right: 15px; background: white;
    width: 40px; height: 40px;border-radius: 50%; display: flex;
    align-items: center;justify-content: center; color: var(--accent-color);
    box-shadow:0 4px 10px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    border: 2px solid;
}
#projectCard h5 {
    color: var(--primary-color);
    text-align: center;
    font-size: medium;
    font-weight: 200;
}
#projectCard p {
    text-align:justify;
    line-height: 1.05;
}
#projectCard {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
#projectCard .btn {
    width: fit-content;
    min-width: 140px;
    font-weight: 700;
    align-self: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
#projectCard a {
    font-weight: 500;
}
#privacyCard {
    display:flex;
    box-shadow: var(--shadow-shoft);
}
#projects {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 10%, rgba(1, 40, 85, 0.450) 100%), 
    url('assets/images/Banner.png');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    padding: 25px 50px;
}
#ares-project, #line-scout-project, #kenderis-project, #ugv-project {
    padding: 25px 50px;
    margin-top: 60px;
}
#ares { 
    border-bottom:#0d4cff solid 2px;
    border-radius: 5%;
    height: auto;
    align-self: center;
    justify-content: center;
    box-shadow:0 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}
.card-title.fw-bold {
    color: var(--primary-color);
}
.mb-2 {
    color: var(--primary-color);
}
.small.justify-content.mb-4 {
    color: var(--primary-color);
}
.rounded-circle.mx-auto.mt-3 {
    width:190px;height:190px;object-fit: cover;
}
.img-fluid {
    justify-content: center;
}
.medium {
    color: var(--primary-color);
}
#project-team-ares h2, #project-team-line-scout h2, #project-team-kenderis h2 ,
#project-team-ugv h2{
    color: var(--card-bg);
}
#ares-project h1, #line-scout-project h1, #kenderis-project h1, #ugv-project h1 {
    color: var(--primary-color);
}
.team-member-card {
    background-color: var(--card-bg);
    transition: var(--transition);
}
.team-member-card:hover{
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover) !important;
}
#project-team-ares {
    background: #012865 url('assets/images/aris.jpg');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
}
#project-team-line-scout {
    background: #012865 url('assets/images/line_follower_new.png');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
}
#project-team-kenderis {
    background: #012865 url('assets/images/Kenderis_new.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
#project-team-ugv {
    background: #012865 url('assets/images/Stafylos.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
footer p{
    text-align: center;
    font-family: 'Inter', sans-serif;
}
#footer {
    background-color: #012865 !important;
    padding: 50px 0;
}
footer a, footer i {
    color: var(--bg-color);
}
/*FAQs Styling*/
.faq {
    background: var(--card-bg);
    color: var(--primary-color);
    text-align: justify;
    line-height: 1.25;
    font-weight: 100;
    font-size: 1.0rem;
    padding: 25px 50px;
}
#faq h2 {
    color: var(--primary-color);
    text-align: center;
}
.accordion  {
    color: var(--bg-color);
    background-color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.75rem;
}
.accordion-body, .accordion-header {
    color: #012865 !important;
    background-color: var(--card-bg) !important;
}
/*Contact Form*/
.contact-form { 
    padding: 55px; 
    border-radius: 24px; 
    max-width: 850px;
    margin: auto;
    box-shadow: var(--shadow-soft); 
    background: #f8f9fa;
    color:var(--primary-color);
    align-items: center;
    justify-content: center;
}
.contact-form .mb-3 {
    margin-bottom:1.4rem !important;
}
.contact-form button {
    min-width: 140px;
    padding: 4px 10px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}
#contact {
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 10%, rgba(1, 40, 85, 0.670) 100%),
    url('assets/images/robotic_arena_2026.jpg');
    background-size:cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    padding: 25px 50px;
}
#contact h2 {
    color: var(--bg-color);
    text-align: center;
}
.social-media a{
    font-size: medium;

}
.form-control { 
    border-radius: 12px; 
    padding: 5px 12px; 
    border: 1px solid #e9ecef; 
    margin-bottom: 10px; 
    font-size: 1rem;
    align-items: flex-start;
    width: 100%; 
    box-sizing: border-box;
}
.form-control input {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 992px) {
    .hero-img {
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        margin-bottom: 20px;
        width: 250px;
        height: 250px;
    }
    #home {
        background-attachment: scroll;
    }
    #ares-project, #line-scout-project, #kenderis-project, #ugv-project {
        padding: 25px 15px;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    #ares {
        margin: 20px auto;
    }
    .carousel-item img {
        height: 350px;
    }
}
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container::after {
        left: 21px;
    }
    .right {
        left: 0%;
    }
    .carousel-item img {
        height: 250px;
    }
    #projects, #project-team-ares, .history {
        background-attachment: scroll;
    }
    #ares-project, #line-scout-project, #kenderis-project, #ugv-project {
        margin-top: 80px;
        padding: 90px 16px 20px;
    }
    .timeline {
        padding: 10px 0;
    }
    #contact {
        padding: 20px 12px;
        background-attachment: scroll;
    }
    .contact-form {
        padding: 22px 16px;
        border-radius: 18px;
    }
    #contact .col-lg-8 {
        width: 100%;
        max-width: 100%;
    }
    .form-control {
        padding: 14px 16px;
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .contact-form .mb-3 {
        margin-bottom: 1rem !important;
    }
    .contact-form button {
        width: 100%;
        min-width: 0;
        font-weight: bold;
    }
    .form-check-label {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .social-media a {
        margin: 4px;
    }
    #backhome a{
        align-items:center;
        justify-content: center;
    }
}
