/* ===== 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-banner {
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
        #111;
    min-height: 320px;
    padding: 60px 20px 40px 20px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: center;
    overflow: hidden;
    color: #fff;
}
#hero-banner .stars-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
#hero-banner .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.7;
    animation: star-flicker 2s infinite alternate;
}
@keyframes star-flicker {
    0%   { opacity: 0.3; }
    50%  { opacity: 1; }
    100% { opacity: 0.3; }
}
#hero-banner .logo-center {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 16px;
}
#hero-banner .logo-center img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
}


/* ===== 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%); }
}

.blobs-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1; /* behind everything */
    background: #000; /* page base color */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: blob-move 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes blob-move {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(60px,-40px) scale(1.15) rotate(10deg); }
    100% { transform: translate(-50px,40px) scale(1); }
}

.tab-container {
    width: 100%;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 10px 18px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
}

.tab-btn.active {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
}

.tab-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
