* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f9fafc;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

header {
    position: relative;
    color: white;
    text-align: center;

    /* Thicker header */
    min-height: 420px;
    padding: 4.5rem 1rem 3.5rem;

    background-image:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("../images/header-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-logo {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

header h1,
header p {
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* Tabs Navigation */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background: #ffffff;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.tabs a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tabs a:hover {
    background: #4facfe;
    color: white;
}

.logo {
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

.logo {
    max-width: 260px;   /* desktop */
    width: 90%;
    height: auto;
    margin-bottom: 1.5rem;
}

section {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: auto;
}

.services-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: auto;
}

.services-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.services-icons {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.services-icons li {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    font-weight: 500;
}

.services-icons .icon {
    font-size: 1.5rem;
}

h2 {
    margin-bottom: 1rem;
    color: #4facfe;
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    padding: 0 10px;
}

.slide img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.65);
    color: white;
    border: none;
    font-size: 2.6rem;        /* BIGGER arrows */
    width: 56px;              /* consistent size */
    height: 56px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.85);
    transform: translateY(-50%) scale(1.08);
}

/* Pull buttons away from edges */
.carousel-btn.prev { left: 30px; }
.carousel-btn.next { right: 30px; }

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

#contact a {
    color: #8f5cff;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background: #222;
    color: #bbb;
    padding: 1rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .logo {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .header-logo {
        top: auto;
        bottom: 1rem;
        right: 1rem;
    }

    .logo {
        max-width: 140px;
    }
}
