* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background: #fff;
    text-align: center;
    overflow-x: hidden;
}

/* Header */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    font-weight: bold;
}


/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
}

.logo img {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li {
    list-style: none;
    position: relative;
    font-size: 18px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 8px 12px;
    position: relative;
}

/* Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #3f3f3f;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links .active::after {
    transform: scaleX(1);
}


/* Employee Login Button (No Underline) */
.login-btn {
    background-color: #c3c0c0;
    color: rgb(248, 247, 247);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    position: relative;
}

.login-btn::after {
    display: none; /* Removes underline animation */
}

.login-btn:hover {
    background-color: #d4d5d5;
}


/* Background Section */
.hero {
    background: url('images/images.jpg') no-repeat top center/cover;
    width: 100vw;
    height: 90vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 5%;
    margin-top: 10px;
}

/* Main Content */
.content {
    text-align: center;
    color: rgb(255, 255, 255);
    max-width: 50%;
    padding-left: 130px;
    font-size: 25px;

}


/* Title Styling */
.title {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 50px;
    text-align: center;
}
/* Job Roles Section */
.job-roles {
    padding: 50px 0;
}

.job-roles h2 {
    color:rgb(45, 45, 45);
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Roles Container */
.roles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

.role {
    background-color: rgb(26, 26, 69);
    color: white;
    font-size: 1rem;
    padding: 15px 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    min-width: 350px;
    height: 50px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.role:hover {
    background-color: royalblue;
}

.hero-section1 {
    background-color: white;
    color: rgb(47, 46, 46);
    text-align: center;
    padding: 100px 20px;
}
.hero-section1 h1 {
    font-size: 40px;
    font-weight: bold;
    color: rgb(32, 32, 32);
    margin: 0;
}
.hero-section1 p {
    font-size: 28px;
    color: rgb(19, 19, 60);
    margin-top: 20px;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    pointer-events: none;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
    max-width: 1200px;
}

.slide-image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


.content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.content h2 {
    font-size: 32px;
    font-weight: bold;
    color: rgb(35, 34, 34);
    text-align: center;
    margin-bottom: 15px;
}

.content p {
    font-size: 19px;
    color: #343434;
    text-align: center;
    line-height: 1.5;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

footer {
    background: linear-gradient(135deg, #3c3c3c, #505151);
    color: white;
    padding: 50px 0;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
    position: relative;
    top: -50px;
}

.footer-about p {
    font-size: 17px;
    color: #ddd;
    line-height: 1.6;
    max-width: 300px;
    margin-top: -100px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-about h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

.footer-links ul li a:hover {
    color: #6ad0ff;
    transform: translateX(5px);
}

.footer-contact form {
    display: flex;
    gap: 10px;
}

.footer-contact input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #222;
    color: white;
}

.footer-contact button {
    background: #b6d5e4;
    color: rgb(56, 55, 55);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 14px;
}


/* ===================== MEDIA QUERIES ===================== */

/* Mobile (Android/iOS) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        align-items: flex-start;
    }

    .logo {
        align-self: flex-start;
        margin-right: 10px;
    }

    .logo img {
        width: 120px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 20px;
        justify-content: center;
    }

    .nav-links li {
        flex: none; /* prevents extra spacing */
        text-align: left;
        font-size: 16px;
        white-space: nowrap; /* Keeps "Our Products" in one line */
    }

    .nav-links a {
        display: inline-block;  /* Prevents full-width hover effect */
        padding: 6px;
        position: relative;
    }

    /* Underline effect only for text */
    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 100%;
        height: 2px;
        background-color: #3f3f3f;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links a:hover::after,
    .nav-links .active::after {
        transform: scaleX(1);
    }

    /* Login button below navigation */
    .login {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }


    .login-btn {
        display: inline-block;
        width: auto;
        padding: 8px 12px;  /* Reduced width */
        font-size: 14px;
        background-color: #ccc;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
    }

    .hero {
        height: 70vh;
        justify-content: flex-end;
        padding: 0 3%;
    }

    .content {
        max-width: 90%;
        font-size: 20px;
        padding: 10px;
        text-align: right;
    }

    .title {
        font-size: 1.8rem;
        text-align: center;
    }

    .roles-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .role {
        min-width: 100%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .hero-section1 {
        padding: 50px 15px;
    }
    .hero-section1 h1 {
        font-size: 28px;
    }
    .hero-section1 p {
        font-size: 18px;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .slide-image {
        max-width: 100%;
    }
    .content {
        max-width: 90%;
    }
    .prev, .next {
        top: 90%;
        transform: translateY(0);
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    .footer-about, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        min-width: 100%;
        text-align: left;
        align-items: flex-start;  /* Align content to the left */

    }

    .footer-logo {
        width: 120px;
        margin-bottom: 0px;  /* 🔹 Remove extra gap */
        text-align: left;
    }

    .footer-about p {
        font-size: 16px;
        margin-top: -30px;   /* 🔹 Reduce top margin to bring text closer */
        text-align: left;
    }

    .footer-links ul {
        padding-left: 0;
        text-align: left;
    }

    .footer-contact form {
        flex-direction: column;
        gap: 8px;
    }

    .footer-contact input {
        width: 100%;
    }

    .footer-contact button {
        width: 100%;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        font-size: 12px;
    }
}


/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .header {
        display: flex;
        justify-content: space-between;  /* Ensures items are spread out */
        align-items: center;
        padding: 10px 30px;
        height: auto;
    }

    .logo {
        flex: 1; /* Allows the logo to take available space on the left */
    }

    .logo img {
        width: 140px;
    }

    .nav-links {
        display: flex;
        flex: 2; /* Gives nav links more space */
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap; /* Prevents links from breaking into new rows */
    }

    .nav-links li {
        font-size: 17px;
        white-space: nowrap; /* Ensures text does not wrap */
    }

    .login-btn {
        flex: 1; /* Pushes the login button to the right */
        text-align: right;
        font-size: 17px;
        padding: 8px 15px;
        background-color: #ccc;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
    }

    .hero {
        height: 80vh;
        justify-content: flex-end;
        padding: 0 5%;
    }

    .content {
        max-width: 70%;
        font-size: 22px;
        text-align: right;
    }

    .title {
        font-size: 2rem;
        text-align: center;
    }

    .roles-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .role {
        min-width: auto;
        font-size: 1rem;
        padding: 15px 25px;
    }

    .hero-section1 {
        padding: 60px 20px;
    }
    .hero-section1 h1 {
        font-size: 34px;
    }
    .hero-section1 p {
        font-size: 22px;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .slide-image {
        max-width: 90%;
    }
    .content {
        max-width: 80%;
    }

    .footer-container {
        margin-top: auto;
        flex-wrap: wrap;
        text-align: center;
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 0px; /* Remove extra bottom space */
        display: block;
    }

    .footer-about p {
        font-size: 16px;
        margin-top: -65px; /* Reduce space between logo and paragraph */
    }

    .footer-about, .footer-links, .footer-contact {
        flex: 1;
        min-width: 45%;
        text-align: left;
    }

    .footer-contact form {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    } 
}


/* Laptops */
@media (min-width: 1025px) and (max-width: 1366px) {
    .header {
        padding: 15px 50px;
    }

    .nav-links {
        gap: 25px;
    }

    .nav-links li {
        font-size: 18px;
    }

    .hero {
        height: 90vh;
        justify-content: center;
    }

    .content {
        max-width: 60%;
        font-size: 24px;
    }

    .title {
        font-size: 2.5rem;
    }

    .roles-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .role {
        min-width: auto;
        font-size: 1.1rem;
    }

    .hero-section1 {
        padding: 70px 30px;
    }
    .hero-section1 h1 {
        font-size: 38px;
    }
    .hero-section1 p {
        font-size: 24px;
    }

    .slide-content {
        flex-direction: row;
        text-align: center;
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: auto;
        text-align: left;
    }


    .footer-about, .footer-links, .footer-contact {
        flex: 1;
        min-width: 300px;
    }
}


/* Large desktops */
@media (min-width: 1367px) {
    .header {
        padding: 15px 80px;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links li {
        font-size: 20px;
    }

    .hero {
        height: 100vh;
    }

    .content {
        max-width: 50%;
        font-size: 26px;
    }

    .title {
        font-size: 3rem;
    }

    .hero-section1 {
        padding: 90px 40px;
    }
    .hero-section1 h1 {
        font-size: 42px;
    }
    .hero-section1 p {
        font-size: 26px;
    }

    .slide-content {
        max-width: 1400px;
        text-align: center;
    }

    .footer-container {
        max-width: 1400px;
    }

    .footer-about p {
        font-size: 18px;
        text-align: center;
        margin-left: 30px;
    }

    .footer-links h3, .footer-contact h3 {
        font-size: 22px;
    }

    .footer-links ul li a {
        font-size: 18px;
    }
}
