
/* ===== BEST Rocket LOGO & FONT ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #4169E1; /* matches circle */
  cursor: pointer;
  transition: color 0.3s;
}

.logo span {
  transition: transform 0.3s;
}

.logo:hover span {
  transform: scale(1.1) rotate(-5deg);
}







/* ===== BODY & FONT ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* very light gray */
    color: #333; /* dark gray text */
}

/* ===== NAVBAR ===== */

.navbar {
    background-color: #eaeaea; /* gentle contrast */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* soft shadow */
    border-bottom: 1px solid #d5d5d5; /* thin subtle border */
    position: sticky;
    top: 0;
    z-index: 1000;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    height: 60px;
    position: relative;  /* needed for absolute nav-menu */ 
    overflow: visible;    
}

.brand a {
    color: #0A3D62; /* navy accent */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4em;
}

/* ===== MENU ITEMS ===== */
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    /*delete - below*/
/*    display: block !important;  */
    /* border: 1px solid red;  */    /* debug */
    /* background-color: yellow;  */  /* debug */
    /*delete - above*/
}

.nav-menu a {
    position: relative;
    display: block;
    padding: 14px 20px;
    color: #0A3D62; /* base navy text */
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden; /* clip shimmer */
    transition: all 0.3s ease;
    background-color: #eaeaea; /* navbar background color */
}

/* Shimmer effect */
.nav-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

/* Trigger shimmer on hover */
.nav-menu a:hover::after {
    animation: shimmer 1s forwards;
}

/* Shimmer keyframes */
@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* Change background and text on hover */
.nav-menu a:hover {
    background-color: #0A3D62; /* navy background */
    color: #ffffff; /* white text */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}


/*
.nav-menu a:hover {
    background: linear-gradient(135deg, #A6D608, #8CC700); /* lime gradient */
    color: #ffffff; /* text turns white */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* subtle shadow */
    transform: translateY(-2px); /* slight lift */
    transition: all 0.3s ease;
}
*/


/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #0A3D62; /* navy hamburger */
    font-size: 1.8em;
    cursor: pointer;
    /*delete - below */
        flex-direction: column; /* stack items vertically */
    overflow: visible;
    /*delete - above */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        right: 0;
        width: auto;               /* shrink to fit content */
        min-width: 100px;          /* optional: prevent it from getting too small */
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 6px;      /* optional: rounded corners */
        z-index: 999;            /* ensure on top */;
        overflow: hidden;        /* clean edges */
        padding: 8px 0;          /* optional spacing */
    }

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

    .nav-menu li {
        text-align: left;  /* keeps links aligned nicely center, left, right*/
        border-top: 10px solid #eee;
    /*delete - below */
      /*  padding: 10px 0;  */ /*used this for testing the menu*/
    /*delete - above */
            border: none;               /* remove full-width borders if desired */
        padding: 0;                 /* we will pad the links themselves */        
    }

    .nav-menu li a {
        display: inline-block;      /* shrink to text size */
        padding: 10px 20px;         /* add spacing around text */
        width: auto;                /* important: do not span full width */
    }

    .nav-menu.active {
        display: flex;
    }
    /*  Commented out. give mac like background shading but we have much better shading going on elsewhere */
 /*   .nav-menu li a:hover {  
        background-color: rgba(0,0,0,0.08);
        color: #0A3D62;
    }    
*/  
.nav-menu li + li {
    border-top: 1px solid #e6e6e6;
}
    .menu-toggle {
        display: block;
    }
}

/* Mobile dropdown links shimmer */
.nav-menu li a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Optional shimmer animation on tap (simulated hover) */
.nav-menu li a:active::after,
.nav-menu li a:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 1s forwards;
}

/* Shimmer keyframes (reuse from desktop) */
@keyframes shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Active link background */
.nav-menu li a:active,
.nav-menu li a:hover {
    background-color: #0A3D62;
    color: #ffffff;
}


/* ===== MAIN CONTENT ===== */
main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: #0A3D62; /* navy background */
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    min-height: auto; /* default for desktop */
    display: block; /* default desktop layout */
}

/* Optional subtle gradient overlay for depth */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,61,98,0.9), rgba(10,61,98,0.95));
    z-index: 0;
}


.hero-content {
    position: relative; /* keep content above gradient overlay */
    z-index: 1;
    max-width: 90%; /* flexible width for smaller screens */
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.hero h1 {
    font-size: clamp(1.8em, 5vw, 2.5em); /* scales between 1.8em and 2.5em */
    margin-bottom: 20px;
    font-weight: 700;
}
/*
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}
*/
.hero p {
    font-size: clamp(1em, 3vw, 1.2em);
    margin-bottom: 30px;
    line-height: 1.5;
}
/*
.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
*/


@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }
}


@media (min-width: 1024px) {
    .hero {
        padding: 120px 40px;
    }
}
/* ===== MOBILE HERO ===== */
@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 60vh; /* maintain “big” hero on small screens */
        padding: 60px 15px; /* smaller padding */
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: clamp(1.8em, 5vw, 2.2em);
    }

    .hero p {
        font-size: clamp(1em, 3vw, 1.2em);
    }

    .btn-primary {
        font-size: clamp(0.9em, 2.5vw, 1.1em);
        white-space: nowrap;
    }
}



/* ===== BUTTON ===== */
/* */
.btn-primary {
    display: inline-block;
    padding: 12px 28px; /* padding: 14px 30px; */
    font-size: clamp(0.9em, 2.5vw, 1.1em); /*  font-size: 1.1em; */
    white-space: nowrap; /* prevent splitting onto multiple lines */
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff; /* white button */
    color: #0A3D62; /* navy text */
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Hover animation */
.btn-primary:hover::after {
    animation: shimmer 1s forwards;
}

/* Button hover effects */
.btn-primary:hover {
    background-color: #0A3D62;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Subtle accent hover */
.btn-primary:hover {
    background-color: #D9EAF7; /* very light blue accent */
    color: #0A3D62; 
    transform: translateY(-2px);
}

/* Shimmer keyframes */
@keyframes shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* ===== SECTION HEADINGS ===== */
main h2 {
    text-align: center;
    font-size: 2em;
    margin: 60px 0 30px;
    color: #0A3D62; /* navy accent */
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.project-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}




/* ===== BLOG GRID ===== */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.blog-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f5f5; /* gentle contrast */
    border-radius: 8px;
    margin: 60px 0;
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 1.1em;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .projects-grid, .blog-grid {
        flex-direction: column;
        gap: 20px;
    }

    main h2 {
        font-size: 1.8em;
        margin: 40px 0 20px;
    }

    .contact-cta {
        padding: 40px 15px;
    }
}

/* ===== PROJECT & BLOG CARD HOVER ===== */
.project-card:hover,
.blog-card:hover {
    transform: translateY(-6px); /* subtle lift */
    box-shadow: 0 10px 20px rgba(0,0,0,0.12); /* slightly deeper shadow */
    transition: all 0.3s ease; /* smooth animation */
}

/* Optional accent border on hover */
.project-card:hover,
.blog-card:hover {
    border-top: 3px solid #0A3D62; /* navy accent line */
}

/* ===== PROJECT & BLOG CARD BASE ===== */
.project-card, .blog-card {
    position: relative;
    overflow: hidden; /* clip shimmer */
    transition: all 0.3s ease;
}

/* Shimmer overlay */
.project-card::after,
.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
}

/* Hover animation */
.project-card:hover::after,
.blog-card:hover::after {
    animation: card-shimmer 1s forwards;
}

/* Shimmer keyframes */
@keyframes card-shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Card lift & shadow on hover */
.project-card:hover,
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-top: 3px solid #0A3D62; /* optional accent line */
}

/* ===== PROJECT & BLOG CARD IMAGES ===== */
.project-card img,
.blog-card img {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Hover effect */
.project-card:hover img,
.blog-card:hover img {
    transform: scale(1.05); /* slight zoom */
    filter: brightness(1.05); /* subtle brightening */
}



/* ===== FOOTER ===== */
footer {
    text-align: center;
    background-color: #f1f1f1;
    padding: 20px;
    margin-top: 40px;
    color: #555;
    font-size: 0.9em;
}
/* ===== FOOTER ===== */
.site-footer {
    background-color: #0A3D62; /* navy background */
    color: #ffffff;
    padding: 40px 20px 20px;
    font-size: 0.95em;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #D9EAF7; /* subtle light blue hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85em;
    color: #d5d5d5;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* start fully off the link */
    width: 30%;   /* narrower shimmer */
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
}
.footer-column ul li a:hover::after {
    animation: footer-shimmer 1.5s forwards; /* slower than buttons/cards */
}

@keyframes footer-shimmer {
    0% { left: -100%; }
    100% { left: 120%; }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

/* ===== FOOTER LINKS ===== */
.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* Shimmer overlay */
.footer-column ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
}

/* Hover shimmer */
.footer-column ul li a:hover::after {
    animation: footer-shimmer 1s forwards;
}

/* Shimmer keyframes */
@keyframes footer-shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Text color on hover */
.footer-column ul li a:hover {
    color: #D9EAF7; /* subtle accent */
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect: lift + subtle brightness */
.social-icons a:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}


@media (max-width: 480px) {
    .footer-column ul li a::after {
        display: none;
    }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-form .form-label {
    width: 120px;          /* fixed width for all labels */
    text-align: right;
    padding-top: 6px;      /* aligns with input */
    margin-right: 15px;
}

.contact-form .form-field {
    flex: 1;               /* input/textarea fills remaining space */
}

.contact-form input,
.contact-form textarea {
    width: 100%;           /* ensures full width of form-field div */
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}



