/* ================================================================
   GREGGAR DETERVILLE — COMPREHENSIVE POLISH
   Append this to the BOTTOM of style.css
   Fixes: typography, section separation, spacing, buttons,
   colour hierarchy, hero area, all section styling
   ================================================================ */

/* ============================================
   GLOBAL TYPOGRAPHY SYSTEM
   ============================================ */

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-top: 0;
}

h1 { font-size: 48px; font-weight: 900; letter-spacing: -1px; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 19px; font-weight: 600; letter-spacing: 0.2px; }
h5 { font-size: 16px; font-weight: 600; letter-spacing: 0.5px; }
h6 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 18px;
    font-weight: 400;
}

strong, b {
    font-weight: 700;
    color: #1a1a1a;
}

a {
    color: #e74c3c;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #c0392b;
    text-decoration: none;
}

ul, ol {
    line-height: 1.75;
    color: #555;
}

ul li, ol li {
    margin-bottom: 8px;
}

/* ============================================
   SECTION STRUCTURE & SEPARATION
   ============================================ */

section {
    padding: 90px 0 !important;
    position: relative;
}

.section-padding {
    padding: 90px 0 !important;
}

/* Alternating section backgrounds for visual rhythm */
#about { background: #ffffff; }
#ecosystem { background: #f7f8fa; border-top: 1px solid #eaeced; border-bottom: 1px solid #eaeced; }
#skills { background: #ffffff; }
#status { background: #1a1a1a; color: #ffffff; padding: 70px 0 !important; }
#services { background: #f7f8fa; border-top: 1px solid #eaeced; border-bottom: 1px solid #eaeced; }
#faq { background: #ffffff; }
#contact { background: #f7f8fa; border-top: 1px solid #eaeced; }

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-heading {
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
    margin-bottom: 18px !important;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.section-subheading {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    color: #888 !important;
    margin-bottom: 60px !important;
    margin-top: 25px !important;
    font-style: normal !important;
}

/* Dark status section override */
#status .sr-only + .row h2.counter {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
}

#status p {
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 500;
}

#status i {
    color: #e74c3c !important;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar-default {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    min-height: 90px;
    transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li > a {
    color: #1a1a1a !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    padding: 25px 18px !important;
    transition: color 0.2s ease !important;
    background: transparent !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.active > a {
    color: #e74c3c !important;
    background: transparent !important;
}

.navbar-brand {
    padding: 8px 15px !important;
    height: auto !important;
}

.navbar-brand img,
.navbar-brand .img-logo {
    max-height: 75px !important;
    max-width: 260px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
}

/* Adjust nav link padding to match new navbar height */
.navbar-default .navbar-nav > li > a {
    padding: 35px 18px !important;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .navbar-default {
        min-height: 70px;
    }
    .navbar-brand img,
    .navbar-brand .img-logo {
        max-height: 55px !important;
        max-width: 200px !important;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 14px 18px !important;
    }
}
/* ============================================
   WELCOME / HERO AREA
   ============================================ */

.welcome-area {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

.welcome-area h1 {
    font-size: 64px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.welcome-area p {
    font-size: 20px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    opacity: 0.95;
}

.welcome-area .img-sig,
.img-sig {
    max-width: 280px !important;
    height: auto !important;
    margin: 25px auto 30px auto !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.img-me {
    max-width: 280px !important;
    height: auto !important;
    border: 6px solid #ffffff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 30px;
}

#about .name {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.5px !important;
}

#about .font-thin {
    font-weight: 400 !important;
    color: #e74c3c !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    margin-bottom: 25px !important;
    text-transform: none !important;
}

#about h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

#about .text-muted {
    color: #555 !important;
    font-size: 15.5px !important;
    line-height: 1.8 !important;
}

#about ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

#about ul li {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.7;
}

#about ul li strong {
    color: #1a1a1a;
    font-weight: 700;
}

#about a {
    color: #e74c3c;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

#about a:hover {
    border-bottom-color: #e74c3c;
    text-decoration: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

#services .single-service {
    padding: 35px 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eaeced;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    margin-bottom: 25px;
}

#services .single-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#services .single-service i {
    color: #e74c3c !important;
    font-size: 48px !important;
    margin-bottom: 20px;
    display: block;
}

#services .service-heading {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 15px 0 12px 0 !important;
    letter-spacing: 0.3px !important;
}

#services .single-service p {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

#skills .skillsArea {
    margin-bottom: 45px;
}

#skills h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 20px !important;
}

#skills .chart {
    position: relative;
    display: inline-block;
}

#skills .percent {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #e74c3c !important;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

#contact .section-heading {
    color: #1a1a1a !important;
}

#contact .section-subheading {
    color: #888 !important;
}

#contact .form-text h4 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
}

#contact .form-text p {
    color: #555 !important;
    margin-bottom: 14px;
    font-size: 14.5px !important;
}

#contact .form-text i {
    color: #e74c3c;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

#contact .form-text a {
    color: #e74c3c;
    font-weight: 500;
}

#contact .form-text a:hover {
    color: #c0392b;
    text-decoration: underline;
}

#contact footer .img-logo,
#contact .img-logo {
    max-width: 90px !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
    margin-top: 25px;
    display: block;
    opacity: 0.85;
}

/* Form inputs */
#contactForm .form-control {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    height: auto !important;
    margin-bottom: 15px;
}

#contactForm .form-control:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    outline: none !important;
}

#contactForm textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

#contactForm .form-control::placeholder {
    color: #aaa;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    border: none !important;
    cursor: pointer;
}

.btn-white {
    background: #e74c3c !important;
    color: #ffffff !important;
    border: 2px solid #e74c3c !important;
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.25) !important;
}

.btn-white:hover,
.btn-white:focus {
    background: #c0392b !important;
    border-color: #c0392b !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.35) !important;
}

.welcome-area .btn-white {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.welcome-area .btn-white:hover {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-color: #ffffff !important;
}

#contactForm .btn {
    margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #1a1a1a !important;
    padding: 40px 0 !important;
    color: #aaa;
}

footer .copyright {
    color: #888 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

footer .social-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    margin-left: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

footer .social-buttons a:hover {
    background: #e74c3c;
    color: #fff !important;
    transform: translateY(-2px);
}

footer .social-buttons i {
    font-size: 15px;
}

.scrollup {
    margin-bottom: 20px;
}

.scrollup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff !important;
    transition: all 0.25s ease;
}

.scrollup a:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

/* ============================================
   ECOSYSTEM SECTION POLISH
   ============================================ */

#ecosystem .layer-heading {
    font-size: 13px !important;
    letter-spacing: 3px !important;
    color: #1a1a1a !important;
    margin: 30px 0 25px 0 !important;
}

#ecosystem .venture-card {
    transition: all 0.3s ease !important;
}

#ecosystem .venture-card h5 {
    color: #1a1a1a !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
}

#ecosystem .venture-card p {
    color: #666 !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
}

/* ============================================
   FAQ SECTION POLISH
   ============================================ */

#faq .faq-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#faq .faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#faq .faq-item h4 {
    font-size: 18px !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
}

#faq .faq-item p {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* ============================================
   UNIVERSAL IMAGE SAFETY NET
   ============================================ */

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    section,
    .section-padding {
        padding: 70px 0 !important;
    }

    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    .section-heading { font-size: 32px !important; }
    .welcome-area h1 { font-size: 48px !important; }
}

@media (max-width: 767px) {
    section,
    .section-padding {
        padding: 60px 0 !important;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    .section-heading { font-size: 28px !important; }
    .section-subheading { font-size: 12px !important; margin-bottom: 40px !important; }

    .welcome-area h1 { font-size: 36px !important; }
    .welcome-area p { font-size: 16px !important; }

    #about .name { font-size: 28px !important; }
    .img-me { max-width: 220px !important; }

    .navbar-default .navbar-nav > li > a {
        padding: 14px 18px !important;
    }

    #contact .form-text h4 { font-size: 20px !important; }
    footer { padding: 30px 0 !important; text-align: center; }
    footer .copyright-area { text-align: center !important; margin-bottom: 15px; }
    footer .text-right { text-align: center !important; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    #services .single-service:hover,
    #ecosystem .venture-card:hover,
    #faq .faq-item:hover,
    footer .social-buttons a:hover,
    .scrollup a:hover,
    .btn-white:hover {
        transform: none !important;
    }
}
/* ============================================
   HERO / WELCOME AREA — BACKGROUND FIX
   Restores proper dark hero background and text contrast
   ============================================ */

.welcome-area {
    background-image: url('../img/welcome-bg.jpg') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-color: #1a1a1a !important; /* fallback while image loads */
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

/* Subtle red accent overlay for brand presence */
.welcome-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(231, 76, 60, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.welcome-area .overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.welcome-area .overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%) !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.welcome-area .container {
    position: relative;
    z-index: 2;
}

.welcome-area .intro-text-area {
    text-align: center;
    color: #ffffff;
}

/* Hero headline */
.welcome-area h1,
.welcome-area .type-text h1 {
    font-size: 64px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

/* Hero subheadline / typed text */
.welcome-area p,
.welcome-area .type-text p {
    font-size: 22px !important;
    color: #ffffff !important;
    font-weight: 300 !important;
    letter-spacing: 3px !important;
    opacity: 0.95;
    margin-bottom: 30px !important;
    text-transform: uppercase;
}

/* Typed animation cursor */
.welcome-area .type-text,
.welcome-area #typed {
    color: #ffffff !important;
    font-size: 22px;
}

.typed-cursor {
    color: #e74c3c !important;
    font-weight: 300;
}

/* Signature image */
.welcome-area .img-sig,
.img-sig {
    max-width: 320px !important;
    height: auto !impor
