/* style.css */
:root {
    --bg-color: #0a0a0a;
    --panel-color: #161616; 
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent: #94d942; /* lime*/
    
    /* Typography */
    --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --max-width: 900px;
    --nav-height: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -1px; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; border-bottom: 1px solid #333; padding-bottom: 0.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; }
p { margin-bottom: 1.5rem; color: #ccc; font-size: 1.05rem; }
strong { color: #fff; }

/* --- Glass Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1100px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group { display: flex; flex-direction: column; line-height: 1; }
.site-title { font-size: 1.3rem; font-weight: 200; text-transform: uppercase; letter-spacing: 2px; color: #fff; }
.site-tagline { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 3px; }

nav ul { display: flex; gap: 2rem; }
nav a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
nav a:hover, nav a.active { color: #fff; }

/* --- Hero Section --- */
.hero {
    height: 55vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #1a1a1a; /* Fallback color */
}
/* Dark Overlay for Hero */
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), var(--bg-color));
}
.hero-content { position: relative; z-index: 2; padding: 2rem; max-width: 700px; }

/* --- Main Content --- */
main { flex: 1; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 3rem 2rem; }

.profile-section { display: flex; gap: 2rem; align-items: center; margin-top: 1rem; }
.profile-img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid #333; }

/* --- Footer --- */
footer {
    background: var(--panel-color);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 4rem;
}
.social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.social-links a { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.social-links a:hover { color: var(--accent); }
.copyright { font-size: 0.8rem; color: #555; }

/* --- Buttons --- */
.btn {
    display: inline-block; padding: 12px 30px;
    background: #fff; color: #000;
    font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
    border-radius: 2px; margin-top: 1.5rem;
}
.btn:hover { background: var(--accent); color: #fff; }

main a { color: var(--accent); font-weight:700; }
main a:hover { color: var(--accent); font-weight:700; text-decoration:underline; }

.float-logo {
    float: left;
    width: 60px;       /* Force a consistent small size */
    height: auto;
    margin-right: 1.5rem;
    margin-top: 5px;   /* Nudge down to align with text */
    border-radius: 4px; /* Optional: Slight rounding */
}

/* 3. Credential List Styling (The logos next to text) */
.credentials-list {
    list-style: none; /* Remove bullet points */
    padding: 0;
}

.credentials-list li {
    display: flex;         /* Use flexbox to align image and text */
    align-items: center;   /* Vertically center them */
    background: #111;      /* Subtle background for the row */
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid #222;
}

.credentials-list li strong {
    color: #fff;
    font-size: 1.1rem;
}

/* Common style for the list images */
.cred-img {
    width: 85px;        /* Fixed width for uniformity */
    height: 85px;       /* Fixed height */
    object-fit: contain; /* Keeps image ratio, doesn't stretch */
    background: #fff;   /* White bg so dark logos show up */
    padding: 5px;
    border-radius: 4px;
    flex-shrink: 0;     /* Prevents image from squishing */
}

.credb-img {
    width: 266px;        /* Fixed width for uniformity */
    height: auto;       
    object-fit: contain; /* Keeps image ratio, doesn't stretch */
    background: #fff;   /* White bg so dark logos show up */
    padding: 5px;
    border-radius: 4px;
    flex-shrink: 0;     /* Prevents image from squishing */
	float: right;
}

/* Helpers for image position (Left vs Right) */
.img-left { margin-right: 1.5rem; }
.img-right { margin-left: 1.5rem; order: 2; /* Moves image to right side */ }

header .logo-group {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header img {
	margin-bottom: -4px;
    max-height: 19px; 
    width: auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Deep shadow */
    margin: 2rem 0 3rem;
    border: 1px solid #333;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-container:hover .video-wrapper {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

/* Services Grid for the bottom section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #111;
    padding: 1.5rem;
    border-radius: 4px;
    border-top: 2px solid var(--accent);
}

.service-card h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 0; }

/* --- Mobile --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; padding: 1rem; }
    header { height: auto; position: relative; }
    nav ul { gap: 1rem; margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .profile-section { flex-direction: column; text-align: center; }
}

@keyframes fadeIn { to { opacity: 1; } }