/* --- GLOBAL VARIABLES & RESET --- */
:root { 
    --bg-color: #0f172a; 
    --text-color: #e2e8f0; 
    --accent-color: #38bdf8; 
    --nav-bg: rgba(15, 23, 42, 0.95); 
    --card-bg: rgba(30, 41, 59, 0.5); 
    --border-color: #1e293b; 
}

body { 
    margin: 0; 
    font-family: 'Segoe UI', Helvetica, sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-color); 
}

/* --- BACKGROUND GRID --- */
.grid-bg { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background-image: linear-gradient(#1e293b 1px, transparent 1px), linear-gradient(90deg, #1e293b 1px, transparent 1px); 
    background-size: 40px 40px; 
    opacity: 0.3; 
    z-index: -1; 
}

/* --- NAVIGATION --- */
nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 1rem 2rem; 
    background-color: var(--nav-bg); 
    border-bottom: 1px solid #1e293b; 
    position: sticky; top: 0; 
    backdrop-filter: blur(10px); 
    z-index: 100; 
}

.nav-left-group { display: flex; align-items: center; gap: 2.5rem; }

.nav-logo img { 
    height: 70px; width: auto; vertical-align: middle; 
    border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; 
}

.linkedin-link { display: flex; align-items: center; justify-content: center; }
.linkedin-icon { width: 24px; height: 24px; fill: #94a3b8; transition: fill 0.3s; }
.linkedin-link:hover .linkedin-icon { fill: #0077b5; }

.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container { max-width: 800px; margin: 3rem auto; padding: 0 1.5rem; }

/* Headings (Default Style for Services/About) */
h2 { 
    font-size: 2.5rem; margin-bottom: 2rem; 
    border-left: 5px solid var(--accent-color); 
    padding-left: 1.5rem; 
    color: #fff; 
}

h3 { font-size: 1.8rem; margin: 3rem 0 1.5rem; color: #fff; }

/* Override for Centered Headers (Contact/Home) */
.header-section { text-align: center; }
.header-section h2 { border-left: none; padding-left: 0; margin-bottom: 0.5rem; }

/* --- HOME PAGE (INDEX) --- */
.hero { 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    min-height: 55vh; 
    text-align: center; 
    padding: 3rem 1rem 3rem 1rem;
}

.hero-logo { 
    max-width: 360px; width: 100%; height: auto; 
    margin-bottom: 1.5rem; 
    border-radius: 50%; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); 
    aspect-ratio: 1/1; object-fit: cover; 
}

.company-name { 
    font-family: 'Segoe UI', sans-serif; 
    font-size: 3.5rem; font-weight: 700; color: #fff; 
    margin: 0 0 0.5rem 0; letter-spacing: 1px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.tagline { font-size: 1.4rem; color: var(--accent-color); font-weight: 400; letter-spacing: 0.5px; margin-bottom: 1.5rem; }

.location-text { font-size: 1.15rem; color: #94a3b8; font-weight: 300; max-width: 600px; line-height: 1.5; }
.location-highlight { color: #fff; font-weight: 500; }

.license-box { 
    margin-top: 2rem; 
    padding: 1.5rem 2rem; 
    background: rgba(30, 41, 59, 0.5); 
    border: 1px solid #1e293b; border-radius: 8px; 
    color: #94a3b8; font-size: 0.95rem; 
    max-width: 700px; line-height: 1.6; 
}

/* --- ABOUT PAGE --- */
.about-section { 
    margin-bottom: 4rem; background: rgba(30, 41, 59, 0.5); 
    padding: 2.5rem; border-radius: 8px; border: 1px solid #1e293b; 
}
.section-title { font-size: 1.5rem; color: var(--accent-color); margin-bottom: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.section-text { color: #cbd5e1; line-height: 1.8; font-size: 1.05rem; }
.highlight { color: #fff; font-weight: 500; }

/* --- SERVICES PAGE --- */
.service-item { 
    margin-bottom: 2.5rem; background: rgba(30, 41, 59, 0.5); 
    padding: 2rem; border-radius: 8px; border: 1px solid #1e293b; 
}
.service-title { font-size: 1.4rem; color: var(--accent-color); margin-bottom: 0.75rem; font-weight: 600; }
.service-desc { color: #cbd5e1; line-height: 1.7; font-size: 1.05rem; }

/* --- CONTACT PAGE --- */
.sub-title { 
    font-size: 1.1rem; color: #94a3b8; margin-top: 0; 
    font-weight: 400; text-transform: uppercase; letter-spacing: 2px; 
}

/* Info Bar */
.info-bar {
    display: flex; justify-content: space-between; 
    background: var(--card-bg); border: 1px solid var(--border-color); 
    border-radius: 12px; padding: 2rem; 
    flex-wrap: wrap; gap: 2rem; 
}

.info-item {
    flex: 1; min-width: 200px; 
    display: flex; flex-direction: column; align-items: center; text-align: center; 
}

.info-icon { width: 28px; height: 28px; fill: var(--accent-color); margin-bottom: 0.75rem; }
.info-label { font-size: 0.9rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; }
.info-value { font-size: 1.2rem; color: #fff; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.info-value:hover { color: var(--accent-color); }

/* Map Section */
.map-section {
    display: flex; flex-direction: column; align-items: center; 
    gap: 1rem; width: 100%; 
}

.map-wrapper {
    width: 100%; height: 450px; 
    border-radius: 12px; overflow: hidden; 
    border: 1px solid var(--border-color); 
    position: relative; 
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); 
    transition: border-color 0.3s, box-shadow 0.3s; 
}

.map-wrapper:hover {
    border-color: var(--accent-color); 
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15); 
}

/* Dark Mode Filter for Map */
.map-iframe {
    width: 100%; height: 100%; border: 0; 
    filter: grayscale(20%) invert(90%) hue-rotate(180deg) brightness(90%) contrast(120%); 
}

.map-caption {
    color: var(--accent-color); font-size: 0.95rem; 
    text-transform: uppercase; letter-spacing: 2px; margin-top: 0.5rem; 
}

/* --- CTA SECTION (Request Proposal) --- */
.cta-section {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.cta-text {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
    margin: 0 0 1rem 0;
    font-family: 'Segoe UI', sans-serif;
}

.cta-subtext {
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 600;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

.cta-email-link {
    color: #0f172a;
    text-decoration: underline;
    transition: color 0.2s;
}

.cta-email-link:hover {
    color: #fff;
}

/* --- TOOL GRID (New Productivity Tools) --- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tool-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    background: rgba(30, 41, 59, 0.8);
}

.tool-name {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .company-name { font-size: 2.2rem; }
    .nav-links { gap: 1rem; }
    nav { padding: 0.75rem 1rem; }
    .info-bar { flex-direction: column; gap: 2rem; }
    .container { margin: 2rem auto; }
    .map-wrapper { height: 350px; }
    .cta-text { font-size: 1.5rem; }
    .cta-subtext { font-size: 1rem; }
    .tool-grid { grid-template-columns: 1fr; }
}