/* /home/nxscom/handyknox.com/assets/css/style.css */
/* --- START OF FILE --- */

/* HandyKnox Corporate Theme */

/* Typography */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 1rem; /* 16px base */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0A2A4E; /* Knox Navy */
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.8rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #007BFF; /* Knox Network Blue - for general links, can be overridden */
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Custom Colors */
.bg-handyknox-navy {
    background-color: #0A2A4E !important; /* Knox Navy */
}

.text-handyknox-navy {
    color: #0A2A4E !important;
}

.bg-handyknox-steel-gray {
    background-color: #6C757D !important; /* Knox Steel Gray */
}

.text-handyknox-steel-gray {
    color: #6C757D !important;
}

.bg-handyknox-silver {
    background-color: #CED4DA !important; /* Knox Silver */
}

.text-handyknox-silver {
    color: #CED4DA !important;
}

.text-handyknox-secondary { /* For accents, can be a gold or brighter blue if needed */
    color: #17A2B8 !important; /* Knox Aqua as an example accent */
}

.btn-handyknox-primary {
    background-color: #0A2A4E; /* Knox Navy */
    border-color: #0A2A4E;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-handyknox-primary:hover,
.btn-handyknox-primary:focus {
    background-color: #08223F; /* Darker Navy */
    border-color: #08223F;
    color: #fff;
}

.btn-outline-handyknox-secondary {
    color: #17A2B8; /* Knox Aqua */
    border-color: #17A2B8;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-handyknox-secondary:hover,
.btn-outline-handyknox-secondary:focus {
    background-color: #17A2B8;
    color: #fff;
    border-color: #17A2B8;
}


/* Header & Navbar */
.navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    font-size: 0.95rem;
}
.dropdown-item {
    padding: 0.5rem 1.2rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #f0f0f0; /* Light gray */
    color: #0A2A4E; /* Knox Navy */
}
.dropdown-item i {
    width: 20px; /* Ensure icons align */
}


/* Main Content Area */
#main-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
    min-height: calc(100vh - 150px - 250px); /* Adjust based on header/footer height */
}

.section-padding {
    padding: 60px 0;
}

.section-bg-light {
    background-color: #f8f9fa; /* Bootstrap light gray */
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}
.section-title h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #17A2B8; /* Knox Aqua */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
footer.bg-dark {
    background-color: #08223F !important; /* Slightly darker than Knox Navy for depth */
}

footer a, footer a:hover {
    text-decoration: none;
}

footer .text-white {
    color: rgba(255,255,255,0.85) !important;
}
footer .text-white:hover {
    color: #fff !important;
}

footer .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
}
footer .btn-outline-light:hover {
    border-color: #fff;
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* Hero Sections */
.hero-section {
    background-color: #0A2A4E; /* Knox Navy */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
}
.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.85);
}

/* Service/Feature Cards */
.feature-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* For equal height cards in a row */
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-card .icon {
    font-size: 3rem;
    color: #17A2B8; /* Knox Aqua */
    margin-bottom: 20px;
}
.feature-card h4 {
    color: #0A2A4E; /* Knox Navy */
    margin-bottom: 15px;
}

/* Contact Form Styling */
.contact-form .form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}
.contact-form .form-control:focus {
    border-color: #0A2A4E;
    box-shadow: 0 0 0 0.25rem rgba(10, 42, 78, 0.25);
}

/* News/Blog Article Styling */
.article-card {
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.article-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.article-card .card-img-top {
    max-height: 250px;
    object-fit: cover;
}
.article-card .card-body {
    padding: 25px;
}
.article-card .card-title a {
    color: #0A2A4E;
    text-decoration: none;
}
.article-card .card-title a:hover {
    color: #17A2B8;
}
.article-meta {
    font-size: 0.85rem;
    color: #6c757d; /* Knox Steel Gray */
    margin-bottom: 10px;
}

.single-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Legal Pages Styling */
.legal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.legal-content h2, .legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content ul, .legal-content ol {
    padding-left: 2rem;
}

/* Maintenance Page Specifics */
.maintenance-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.maintenance-container .icon {
    font-size: 5rem;
    color: #0A2A4E; /* Knox Navy */
    margin-bottom: 1rem;
}


/* Breadcrumbs */
.breadcrumb {
    background-color: #f8f9fa; /* Bootstrap light gray */
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}
.breadcrumb-item a {
    color: #0A2A4E;
}
.breadcrumb-item.active {
    color: #6c757d;
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    .navbar-dark .navbar-nav .nav-item .dropdown-toggle.btn {
        display: block;
        width: 100%;
        text-align: left;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-padding {
        padding: 40px 0;
    }
    .footer .text-md-start {
        text-align: center !important;
    }
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}


/* --- END OF FILE --- */
/* /home/nxscom/handyknox.com/assets/css/style.css */