*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:sans-serif;
}

:root{
    --primary-color:#071a2d;
    --blue-color:#00b4ff;
    --secondary-color:#f3961c;
    --white:#fff;
}

body{
    background:var(--primary-color);
    color:white;
    overflow-x:hidden;
}

header{
    background:var(--primary-color);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 30px;
    position:relative;
}

.corner-logo{
    height:60px;
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:20px;
}

.nav-menu a{
    text-decoration:none;
    color:white;
    padding:10px 18px;
    border-radius:8px;
    position:relative;
    transition:0.3s;
}

.nav-menu a:hover{
    background:var(--blue-color);
    transform:translateY(-3px);
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:5px;
    width:0;
    height:2px;
    background:var(--secondary-color);
    transform:translateX(-50%);
    transition:0.3s;
}

.nav-menu a:hover::after{
    width:60%;
}

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:white;
}

.other-hero{
    height:55vh;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    text-align:center;

    background:
    linear-gradient(rgba(7,26,45,0.85),rgba(7,26,45,0.85)),
    url("jeremy-bishop-G9i_plbfDgk-unsplash.jpg");

    background-size:cover;
    background-position:center;
}

.other-hero h1{
    font-size:3rem;
    margin-bottom:10px;
}

.other-hero p{
    color:rgba(255,255,255,0.8);
}

.info-section{
    padding:70px 8%;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.info-card{
    background:white;
    color:#071a2d;

    padding:25px;
    border-radius:14px;

    box-shadow:0 8px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

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

.info-card h2{
    color:var(--blue-color);
    margin-bottom:12px;
}

.info-card p{
    margin-top:8px;
    line-height:1.6;
    color:#333;
}

.info-card ul{
    margin-left:20px;
    margin-top:10px;
}

.info-card ul li{
    margin-bottom:6px;
}

.footer{
    background:#04111f;
    color:white;
    width:100%;
    margin-top:60px;
    padding-top:60px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:40px;

    padding-bottom:40px;
}

.footer-section h2,
.footer-section h3{
    color:var(--blue-color);
    margin-bottom:15px;
}

.footer-section p{
    color:rgba(255,255,255,0.7);
    line-height:1.6;
    word-break:break-word;
}

.footer-section ul{
    list-style:none;
}

.footer-section ul li{
    margin-bottom:8px;
}

.footer-section ul li a{
    text-decoration:none;
    color:rgba(255,255,255,0.7);
    transition:0.3s;
}

.footer-section ul li a:hover{
    color:var(--blue-color);
    padding-left:5px;
}

.social-icons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.social-icons a{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,0.1);
    border-radius:50%;
    color:white;

    transition:0.3s;
}

.social-icons a:hover{
    background:var(--blue-color);
    transform:translateY(-4px);
}

.footer-bottom{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,0.1);
    color:rgba(255,255,255,0.6);
}

@media (max-width:768px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
        gap:30px;
    }

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

    .footer-section h2,
    .footer-section h3{
        text-align:center;
    }
}

.email {
    white-space: nowrap;
}

.location{
   white-space: nowrap;
}

@media (max-width:768px){

    .hamburger{
        display:flex;
    }

    .nav-menu{
        display:none;
        position:absolute;
        top:70px;
        right:0;

        flex-direction:column;
        background:var(--primary-color);

        width:200px;
        padding:15px;
        gap:10px;
    }

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

    .other-hero h1{
        font-size:2.2rem;
    }

    .info-section{
        padding:50px 6%;
    }
}

/* Windows XP Preloader Styling */
.xp-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* XP Boot screen was black */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: "Tahoma", "Verdana", sans-serif;
    transition: opacity 0.7s ease;
}

.xp-wrapper {
    text-align: center;
    width: 300px;
}

.xp-logo {
    color: white;
    margin-bottom: 40px;
    position: relative;
}

.xp-brand {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    margin-left: 65px;
}

.xp-product {
    font-size: 2.5rem;
    font-weight: bold;
    font-style: italic;
    letter-spacing: -1px;
}

.xp-product span {
    color: #ff6600;
    font-size: 1rem;
    vertical-align: top;
    margin-left: 5px;
    font-style: normal;
}

/* The Loading Track */
.xp-loader-container {
    width: 200px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 4px;
    margin: 0 auto;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

/* The 3 blue blocks */
.xp-loader-bar {
    display: flex;
    gap: 2px;
    position: absolute;
    height: 14px;
    animation: xp-slide 2s linear infinite;
}

.xp-segment {
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #2d68d2, #6597e8, #2d68d2);
    border-radius: 1px;
}

@keyframes xp-slide {
    0% { left: -50px; }
    100% { left: 210px; }
}

.xp-footer {
    position: absolute;
    bottom: 50px;
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
}

.xp-mini-logo {
    width: 30px;
    filter: grayscale(1) brightness(2); /* Makes logo white/silver for the dark screen */
    margin-bottom: 10px;
}

/* Windows XP Preloader with Logo Integration */
.xp-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: "Tahoma", "Verdana", sans-serif;
    transition: opacity 0.7s ease;
}

.xp-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.xp-main-logo {
    width: 180px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
    /* Optional: Brightens the logo for the black background */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); 
}

.xp-brand-text {
    color: white;
    text-align: center;
}

.xp-brand {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.xp-product {
    font-size: 2.8rem;
    font-weight: bold;
    font-style: italic;
}

.xp-product span {
    color: #ff6600; /* The classic orange XP text */
    font-size: 1.2rem;
    vertical-align: top;
    font-style: normal;
}

/* Loader Bar Styling */
.xp-loader-container {
    width: 220px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.xp-loader-bar {
    display: flex;
    gap: 3px;
    position: absolute;
    height: 16px;
    animation: xp-slide 2s linear infinite;
}

.xp-segment {
    width: 12px;
    height: 100%;
    background: linear-gradient(to bottom, #2d68d2, #6597e8, #2d68d2);
    border-radius: 2px;
}

@keyframes xp-slide {
    0% { left: -60px; }
    100% { left: 230px; }
}

.xp-footer {
    position: absolute;
    bottom: 40px;
    color: #888;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.5;
}

.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #b45309;
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10000;
    animation: slideDown 0.4s;
}

.offline-banner__dot {
    line-height: 1;
}

.offline-banner__text {
    line-height: 1.4;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
