/* 
 * Custom Brand Colors CSS
 * Next Chapter Consultancy
 * Primary Brand Color: #171729
 */

/* Header Styling */
.header {
    background-color: #171729 !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(23, 23, 41, 0.1);
    position: relative;
    z-index: 999;
}

.header .container-fluid {
    background-color: #171729;
}

/* Logo styling */
.header-logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation styling */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #00d4ff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #00d4ff !important;
}

/* Add underline animation on hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #00d4ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Mobile menu button */
.navbar-toggler {
    border: 2px solid #ffffff;
    padding: 8px 12px;
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header background gradient */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #171729 0%, #2a2a4a 100%);
    z-index: -1;
}

/* Footer Styling */
.footer-area {
    background-color: #171729 !important;
    color: #ffffff;
    position: relative;
}

.footer-main {
    background-color: #171729;
    padding: 60px 0 40px;
}

.footer-bottom {
    background-color: #0f0f1f !important;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer text colors */
.footer-widget h4,
.footer-title {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-widget h4::after,
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #0099cc 100%);
}

.footer-widget p,
.footer-desc {
    color: #cccccc !important;
    line-height: 1.7;
}

/* Footer menu links */
.footer-menu li a {
    color: #cccccc !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.footer-menu li a:hover {
    color: #00d4ff !important;
    padding-left: 10px;
}

/* Footer social links */
.footer-social a {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #00d4ff !important;
    color: #171729 !important;
    transform: translateY(-3px);
}

/* Footer contact info */
.footer-contact p {
    color: #cccccc !important;
    margin-bottom: 15px;
}

.footer-contact i {
    color: #00d4ff !important;
    margin-right: 10px;
    width: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    background-color: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.contact-content a {
    color: #cccccc !important;
    text-decoration: none;
}

.contact-content a:hover {
    color: #00d4ff !important;
}

/* Copyright text */
.copyright-text,
.footer-bottom-content {
    color: #cccccc !important;
}

.footer-bottom-menu a {
    color: #cccccc !important;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom-menu a:hover {
    color: #00d4ff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .header {
        padding: 10px 0;
    }
    
    .navbar-nav {
        background-color: #171729;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Add subtle animation */
.header {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer background pattern */
.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #171729 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -1;
}
