/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background-color: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* ===== Header ===== */
header {
    background: #000; /* Primary black */
    color: white;
    padding: 20px 40px;
    border-bottom: 4px solid #ff6600; /* Secondary orange */
}

header .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo img {
    height: 60px;
}

header .company-info h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

header .company-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

header .account-btn {
    margin-top: 15px;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

nav {
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff6600;
}

/* ===== Main Content ===== */
main {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 40px;
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

section h2 {
    color: #000;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

/* ===== Footer ===== */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px;
    border-top: 4px solid #ff6600;
}

footer a {
    color: #ff6600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    header .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== Navigation Layout ===== */
nav {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff6600;
}

/* ===== Login Button ===== */
.btn-login {
    background-color: #ff6600;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background-color: #e65c00;
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    height: 350px;
    background: url('/assets/hero.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff6600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: #e65c00;
}

/* ===== Client Logo Carousel ===== */
.clients {
    background: white;
    padding: 40px 20px;
    color: white;
}

.clients h2 {
    color: black;
    margin-bottom: 20px;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
}

.logo-slide {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
    /* To make infinite scrolling work, ensure the images are duplicated in HTML */
    width: max-content;
}

.logo-slide img {
    height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

