/* styles.css */

/* ================================
   GLOBAL RESET & BASE STYLES
   ================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f2f2f2;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

/* ================================
   NAVBAR (EXACT COPY FROM HOMEPAGE)
   ================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    z-index: 100;
}

.logo {
    margin-top: 5px;
    cursor: pointer;
    user-select: none;
}

.flex {
    display: flex;
    align-items: center;
}

.container {
    position: relative;
    display: flex;
    width: 100%;
    margin: auto;
    z-index: 1;
    background: white;
    box-shadow: 0 0 10px 0 black;
}

.navbar {
    justify-content: space-between;
}

.header-container {
    margin-right: 250px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 70px;
    justify-content: center;
    font-size: 18px;
}

.nav-links li {
    position: relative;
}

.generalInfo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: red;
    font-size: 12px;
    justify-content: center;
}

#orderTxt {
    color: red;
    margin-left: 50px;
}

.phoneNum {
    color: red;
    margin-left: 50px;
    cursor: default;
}

/* start of navbar links */
.navbar a:not(.mainBtnLinks) {
    display: inline-block;
    color: black;
    text-decoration: none;
    transition: 0.2s;
    font-family: "Ubuntu", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 1;
    font-size: 20px;
}

.navbar .underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: red;
    bottom: 20px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

.navbar a:hover {
    color: red;
}

.nav__text {
    position: absolute;
    height: 50px;
    width: 100%;
    margin-bottom: 45px;
    margin-left: 600px;
    z-index: 1;
}

.nav__call {
    position: absolute;
    margin-left: 750px;
}

.nav__login {
    position: absolute;
    margin-left: 750px;
    bottom: 10px;
}
/* end of navbar links */

.navbar-brand {
    margin-left: 230px !important; /* Forces the margin */
    position: relative !important;
    transform: translateX(70px);
    display: flex;
    user-select: none;
}

.navbar-brand img {
    width: 250px;
    height: auto;
    max-height: 200px;
}

.top_options_wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 18px;
}

.top_options {
    height: 10px;
    width: 63.5%;
    bottom: 40px;
    display: flex;
    gap: 3rem;
    font-weight: bold;
    justify-content: right;
    user-select: none;
}

.top_options_call {
    margin-top: 1px;
    color: red;
}

.top_options_login {
    font-size: 18px !important;
}

.navbar .navbar-nav {
    margin-left: auto;
    gap: 2rem;
    padding-right: 350px;
}

.bg-body-tertiary {
    box-shadow: 0 1px 50px rgba(0, 0, 0, 0.5);
}

.nav__call {
    font-size: 15px;
    font-weight: bold;
    color: red;
    z-index: 1;
}

/* ================================
   FOOTER (EXACT COPY FROM HOMEPAGE)
   ================================ */
.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    user-select: none;
}

.footer-nav {
    margin: 10px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #ddd;
}

.social-media {
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.social-media a img {
    width: 24px;
    height: 24px;
    filter: invert(100%);
}

/* ================================
   MEDIA QUERIES (FROM HOMEPAGE)
   ================================ */
@media (max-width: 992px) {
    .navbar-collapse.collapse {
        position: absolute;
        z-index: 100;
        top: 100%;
        background-color: rgb(248, 249, 250);
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1020px) {
    .top_options_wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .top_options {
        height: 60px;
        width: 100%;
        bottom: 40px;
        display: flex;
        gap: 1rem;
        font-weight: bold;
    }

    .top_options_login {
        font-size: 15px !important;
        bottom: 43px;
    }

    .text .mainbtn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 150px;
        width: 500px;
        font-size: 50px !important;
        margin-bottom: 200px !important;
        margin-top: 200px !important;
        margin: 75px;
    }

    .mainTxt {
        font-size: 130px !important;
        margin-top: 150px;
    }

    .navbar-toggler-icon {
        height: 65px !important;
        width: 65px !important;
    }

    .navbar-nav {
        font-size: 30px;
        position: relative;
        right: 50px !important;
        padding-left: 90px;
    }

    .navbar-brand {
        margin-left: 75px !important;
        position: relative !important;
    }

    .homepage .text {
        text-shadow: 10px 10px 10px black;
    }

    .homepage {
        height: auto;
    }

    .features {
        display: flex;
        flex-direction: column;
    }

    .feature__text {
        font-size: 40px;
    }

    .card-container {
        display: flex;
        flex-direction: column;
    }

    .card-service {
        height: 350px;
        width: 550px;
    }

    .cardDescTag {
        font-size: 45px;
    }

    .cardDescTxt {
        font-size: 30px;
    }

    .card__icon {
        height: 100px;
        width: 100px;
    }

    .serviceTag {
        font-size: 65px;
    }

    .serviceDesc {
        font-size: 30px;
    }

    .serviceBtn {
        height: 100px;
        width: 500px;
        font-size: 40px;
    }

    .footer-content p {
        font-size: 35px;
    }

    .footer-nav a {
        font-size: 25px;
    }

    .text__home__animation {
        text-align: center;
        margin-top: 200px;
    }
}

@media (max-width: 1024px) {
    .navbar-brand {
        right: 100px;
    }
}

@media (max-width: 1440px) {
    .navbar-brand {
        right: 100px;
    }
}

@media (max-width: 1600px) {
    .navbar-brand {
        right: 100px;
    }
}

@media (max-width: 1800px) {
    .navbar-brand {
        right: 100px;
    }
}

/* ================================
   NEW COURIERS PAGE STYLES
   ================================ */

/* Simple angled hero with a two-tone background */
.couriers-hero {
    margin-top: 100px; /* to sit below fixed navbar */
    position: relative;
    width: 100%;
    padding: 4rem 1rem;
    background: linear-gradient(120deg, #ffffff 50%, #ececec 50%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-transform: none; /* normal casing for paragraphs */
}
.hero-content h1 {
    color: rgb(255, 71, 71);
    font-family: "Ubuntu", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content p {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Info Section */
.couriers-info {
    background: #fff;
    padding: 3rem 2rem;
    text-transform: none;
}
.couriers-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}
.couriers-intro h2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    padding-left: 1rem;
    display: inline-block; /* keeps the border only to the heading */
}
.couriers-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
}

.couriers-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.couriers-details-box {
    position: relative;
    background: white;
    height: 250px;
    width: 250px;
    display: grid;
    margin: 30px;
    cursor: pointer;

    justify-content: center;
    justify-items: center;
    align-items: center;
    user-select: none;

    transition: transform 0.5s, box-shadow 0.5s;
}
.couriers-details-box:hover {
    color: black;
    transition: .5s;
    box-shadow: 1px 1px 10px 1px rgb(255, 84, 84);
    
    transform: scale(1.1);
    transition: transform 0.3s;
}
.couriers-details-box h3 {
    color: rgb(255, 84, 84);
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}
.couriers-details-box p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    text-align: center;
}

/* Meet Our Couriers Section */
.couriers-team {
    background: #fff;
    padding: 3rem 2rem;
    text-transform: none;
    text-align: center;
}
.couriers-team h2 {
    font-family: "Ubuntu", sans-serif;
    font-size: 2rem;
    color: #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    padding-left: 1rem;
    display: inline-block;
}
.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.team-card {
    background: #fff;
    padding: 1.5rem;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(255, 0, 0, 0.363);
}
.team-card h4 {
    color: #000;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.team-card p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}

#nav-courier{
    color: red;
  }

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .couriers-intro h2 {
        font-size: 1.6rem;
    }
    .couriers-details-box,
    .team-card {
        max-width: 100%;
    }
    .couriers-team h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .couriers-intro h2 {
        font-size: 1.4rem;
    }
    .team-card h4 {
        font-size: 0.95rem;
    }
}
