@charset "utf-8";
/* CSS Document */

/* =========================
   Base Layout & Typography
   ========================= */

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #1e1e1e;
    background: #fffefb;
    line-height: 1.6;
}

/* Compact header – add at bottom of sigma_wolf_tech_style3.css */

/* Reset some default spacing */
header {
    padding: 1.2rem 1rem;          /* was 2rem → reduced */
    background: #032E47;
    color: #fff;
    text-align: center;
}

header h1 {
    font-size: 2.4rem;             /* was 3rem → smaller but still prominent */
    margin: 0.4rem 0 0.3rem;
}

/* New container for side-by-side layout (Option A) */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;                   /* space between logo and text */
    flex-wrap: wrap;               /* stacks on very small screens */
    max-width: 1100px;
    margin: 0 auto;
}

.header-logo {
    width: 100px;                  /* reduced from 150px */
    height: 100px;
    object-fit: contain;
    border-radius: 8px;            /* optional – softens look */
    flex-shrink: 0;
}

.header-text {
    text-align: left;              /* or center if you prefer */
}

.header-text h1 {
    margin: 0;
    font-size: 2.4rem;
    line-height: 1.1;
}

.tagline {
    margin: 0.25rem 0 0;
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.3;
}

/* Optional: make taglines smaller & closer together */
.tagline + .tagline {
    margin-top: 0.1rem;
}

nav {
    background: #d4af37;
    padding: 1rem;
    text-align: center;
}

nav a {
    color: #032E47;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    /*font-family: Georgia, "Times New Roman", Times, serif;*/
	font-family: 'Inria Serif', 'Times New Roman', serif;
	font-size: 28px;
    margin-bottom: 1rem;
    color: #032E47;
}

h3 {
    font-family: 'Inria Serif', 'Times New Roman', serif;
    font-size: 24px;           /* Smaller but still elegant */
    margin-bottom: 1rem;
    color: #032E47;
}

p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* alignment to match paragraphs */

main ul,
main ol {
    max-width: 800px;           /* same as paragraphs */
    margin: 0 auto 1.5rem;      /* center + nice spacing */
    padding-left: 1.8rem;       /* clean, consistent indent for bullets/numbers */
    padding-right: 1rem;
}

/* Optional: make nested lists (like your <ul> inside <ol>) slightly less indented */
main ul ul,
main ol ul,
main ol ol {
    padding-left: 1.4rem;
    margin-top: 0.8rem;
}

main li {
    margin-bottom: 0.9rem;      /* better spacing between list items */
    line-height: 1.7;
}


/* =========================
   Buttons & Calls to Action
   ========================= */

.cta-button {
    display: inline-block;
    background: #d4af37;
    color: #032E47;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1rem;
}

.cta-button:hover {
    background: #fbe6a1;
}

/* =========================
   Smart Auto-Flip Hover Description Box
   ========================= */

.hover-description {
    position: relative;
    display: inline-block;
    color: #032E47;
    font-weight: 600;
    cursor: help;
    border-bottom: 2px dotted #d4af37;
    padding-bottom: 2px;
}

.description-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 460px;
    max-width: 92vw;
    background: #032E47;
    color: #fffefb;
    padding: 1.4rem 1.6rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    font-weight: 400;
    font-size: 1.03rem;
    line-height: 1.65;
    z-index: 200;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Default arrow (pointing down - for "above" position) */
.description-box::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #032E47;
}

/* When flipped to below */
.description-box.flipped {
    bottom: auto;           /* remove above positioning */
}

.description-box.flipped::before {
    border-top: none;
    border-bottom: 10px solid #032E47;   /* arrow now points up */
}


/* =========================
   Services / Cards
   ========================= */

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* =========================
   Form Styling
   ========================= */

form {
    max-width: 600px;
    margin: 2rem auto 0;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #032E47;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.4rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    background-color: #ffffff;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #032E47;
    box-shadow: 0 0 0 2px rgba(3, 46, 71, 0.12);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

button,
input[type="submit"] {
    display: block;
    width: 100%;
    background: #d4af37;
    color: #032E47;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

button:hover,
input[type="submit"]:hover {
    background: #fbe6a1;
}

button:active,
input[type="submit"]:active {
    transform: translateY(1px);
}

/* =========================
   Footer
   ========================= */

footer {
    background: #032E47;
    color: #fff;
    text-align: center;
    /*padding: 2rem 1rem;*/
	padding: 1.2rem 1rem; 
    margin-top: 4rem;
}

footer p,
footer a,
footer span {
    font-size: 0.85rem;     /* Smaller text for everything in footer */
    line-height: 1.5;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================
   Responsive Adjustments
   ========================= */

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    nav a {
        display: block;
        margin: 0.5rem 0;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

}


/* Mobile adjustments */
@media (max-width: 640px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .header-logo {
        width: 90px;
        height: 90px;
    }
}

   