:root {
    --primary-color: #128B8E;
    --bg-color: #050505;
    --card-bg: #111111;
    --profile-bg: #0a363a;
    --text-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: rgba(5, 5, 5, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid #222;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-img {
    height: 45px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.75);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
}

.hero-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    opacity: 0.85;
}

.intro {
    background-color: var(--bg-color);
    padding: 7rem 2rem 5rem;
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
    overflow-wrap: break-word;
}

.profile-section {
    background: linear-gradient(145deg, #07272a 0%, #0d3e43 50%, #07272a 100%);
    background-color: var(--profile-bg);
    padding: 6rem 2rem;
    border-top: 1px solid rgba(18, 139, 142, 0.35);
    border-bottom: 1px solid rgba(18, 139, 142, 0.35);
}

.profile-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.profile-image-wrapper {
    flex-shrink: 0;
}

.profile-img {
    width: 300px;
    height: 380px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 16px;
    border: 2px solid rgba(18, 139, 142, 0.25);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    display: block;
}

.profile-text {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.profile-text p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #eaf4f4;
    font-style: italic;
}

.profile-text .cta-button {
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .intro {
        padding: 5rem 1.5rem 3.5rem;
    }

    .profile-section {
        padding: 4.5rem 1.5rem;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .profile-img {
        width: 240px;
        height: 300px;
        margin: 0 auto;
    }

    .profile-text {
        align-items: center;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #0e6c6e;
    transform: translateY(-2px);
}

.services {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--primary-color);
}

.service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(18, 139, 142, 0.1);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(18, 139, 142, 0.25);
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background: rgba(18, 139, 142, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.service-card .icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #aaa;
}

footer {
    background-color: #030303;
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid #222;
}

footer h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 1rem;
    color: #aaa;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #555;
}
