/**
 * Laroup Custom Styles
 * Additional styles for the PHP converted site
 */

/* ============================================
   SECTION SPACING
   ============================================ */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Background colors */
.bg-gray {
    background-color: #f5f5f5;
}

.bg-dark {
    background-color: #131b4d;
}

.text-white {
    color: #ffffff !important;
}

.text-white h2,
.text-white p {
    color: #ffffff;
}

/* ============================================
   SLIDER STYLES
   ============================================ */
.main-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
}

.theme-default .nivoSlider {
    position: relative;
    background: #131b4d;
}

.theme-default .nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.nivo-html-caption {
    display: none;
}

.nivo-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: transparent;
    text-align: center;
    z-index: 100;
}

.slider-caption {
    text-align: center;
    color: #fff;
}

.slider-caption h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-caption h2 b {
    color: #f47629;
}

.slider-caption p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    .slider-caption h2 {
        font-size: 28px;
    }
    .slider-caption p {
        font-size: 16px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content h2 {
    margin-bottom: 20px;
}

.about-content h2 b {
    color: #f47629;
}

.about-content p {
    margin-bottom: 20px;
}

.about-images img {
    margin-bottom: 20px;
    border-radius: 5px;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.list-check li {
    padding: 8px 0;
    font-size: 16px;
}

.list-check li .icon {
    color: #f47629;
    margin-right: 10px;
}

/* ============================================
   SERVICE BOX
   ============================================ */
.service-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.service-box .service-icon {
    margin-bottom: 20px;
}

.service-box .service-icon .icon {
    font-size: 48px;
    color: #f47629;
}

.service-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #252936;
}

.service-box p {
    color: #666;
    margin-bottom: 15px;
}

.service-box .read-more {
    color: #f47629;
    font-weight: 500;
    text-decoration: none;
}

.service-box .read-more:hover {
    color: #131b4d;
}

.service-box-large {
    background: #fff;
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.service-box-large .service-icon {
    margin-bottom: 25px;
}

.service-box-large .service-icon .icon {
    font-size: 56px;
    color: #f47629;
}

.service-box-large h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.service-features li {
    padding: 8px 0;
}

.service-features li .icon {
    color: #f47629;
    margin-right: 10px;
}

/* ============================================
   FEATURE BOX
   ============================================ */
.feature-box {
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-box .icon {
    font-size: 48px;
    color: #f47629;
    margin-bottom: 20px;
    display: block;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    margin: 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header-section {
    position: relative;
}

.page-header-section h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.breadcrumb-nav {
    font-size: 16px;
}

.breadcrumb-nav a {
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #f47629 !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background-color: #f47629;
    border-color: #f47629;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e06520;
    border-color: #e06520;
    color: #fff;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form .form-control {
    height: 50px;
    border-radius: 3px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 16px;
}

.contact-form textarea.form-control {
    height: auto;
    min-height: 120px;
}

.contact-form .form-control:focus {
    border-color: #f47629;
    box-shadow: 0 0 0 0.2rem rgba(244, 118, 41, 0.25);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-info-box {
    padding: 30px;
    margin-bottom: 30px;
}

.contact-info-box h4 {
    margin: 20px 0 15px;
}

.contact-info-box a {
    color: #f47629;
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.page-footer {
    background-color: #131b4d;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
}

.page-footer h4,
.page-footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.page-footer p {
    color: rgba(255,255,255,0.8);
}

.page-footer a {
    color: #f47629;
    text-decoration: none;
}

.page-footer a:hover {
    color: #fff;
}

.footer-widget {
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    padding: 8px 0;
    color: rgba(255,255,255,0.8);
}

.contact-list li .icon {
    color: #f47629;
    margin-right: 10px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.copyright p {
    margin: 0;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f47629;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background: #131b4d;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.page-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
}

.logo img {
    max-height: 80px;
}

.logo span img {
    max-width: 30px;
    margin-left: -10px;
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social-links li {
    margin-right: 10px;
}

.social-links a {
    color: #131b4d;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f47629;
}

.phone {
    text-align: right;
}

.phone .icon {
    color: #f47629;
    margin-right: 5px;
}

.phone a {
    color: #131b4d;
    font-weight: 500;
    text-decoration: none;
}

/* Navigation */
#slidemenu {
    background: #131b4d;
    padding: 0;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav > li {
    position: relative;
}

.navbar-nav > li > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    color: #ffffff;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #252936;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #131b4d;
}

/* Mobile navigation toggle */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #131b4d;
    cursor: pointer;
}

@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
    }

    #slidemenu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
    }

    #slidemenu.open {
        display: block;
    }

    .navbar-nav {
        flex-direction: column;
        padding-top: 60px;
    }

    .navbar-nav > li > a {
        padding: 15px 30px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
    }

    .dropdown-menu li a {
        color: #fff;
        padding-left: 40px;
    }
}

/* ============================================
   TEAM / VALUE BOX
   ============================================ */
.team-member {
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h4 {
    margin-bottom: 5px;
}

.value-box {
    padding: 30px;
    margin-bottom: 30px;
}

.value-box h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

/* ============================================
   STATISTICS
   ============================================ */
.stat-box {
    padding: 30px;
}

.stat-box .counter {
    display: block;
}

.stat-box h5 {
    margin-top: 10px;
}

/* ============================================
   OFFICE BOX
   ============================================ */
.office-box h4 {
    margin-bottom: 15px;
}

/* ============================================
   UTILITIES
   ============================================ */
.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Color utility */
.color-alt {
    color: #f47629 !important;
}

/* Spacing for main content after fixed header */
body {
    padding-top: 130px;
}

@media (max-width: 991px) {
    body {
        padding-top: 100px;
    }
}

/* Row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer row */
.footer-row {
    margin-bottom: 30px;
}

/* ============================================
   CATEGORY BOX
   ============================================ */
.category-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 5px;
}

.category-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-box:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(19, 27, 77, 0.9));
    padding: 30px 20px 20px;
    text-align: center;
}

.category-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.category-box a {
    display: block;
    text-decoration: none;
}

/* ============================================
   SECTION SUBTITLE
   ============================================ */
.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* ============================================
   LEAD TEXT
   ============================================ */
.lead {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* ============================================
   CONTACT INFO (inline)
   ============================================ */
.contact-info {
    margin: 30px 0;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-info .icon {
    color: #f47629;
    margin-right: 10px;
    font-size: 18px;
}

/* ============================================
   CTA SECTION FIXES
   ============================================ */
#cta h2 b {
    color: #f47629;
}

#cta .text-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    #cta .text-right {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* ============================================
   SLIDER IMPROVEMENTS
   ============================================ */
.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.nivoSlider img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* Direction nav */
.nivo-directionNav a {
    position: absolute;
    top: 50%;
    z-index: 100;
    cursor: pointer;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(244, 118, 41, 0.8);
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-wrapper:hover .nivo-directionNav a {
    opacity: 1;
}

.nivo-prevNav {
    left: 20px;
}

.nivo-nextNav {
    right: 20px;
}

.nivo-directionNav a:before {
    font-family: 'Electrician';
}

.nivo-prevNav:before {
    content: "\e91b";
}

.nivo-nextNav:before {
    content: "\e91a";
}

/* Control nav (dots) */
.nivo-controlNav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.nivo-controlNav a {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    text-indent: -9999px;
    transition: background 0.3s ease;
}

.nivo-controlNav a.active {
    background: #f47629;
}

/* Caption positioning */
.nivo-caption {
    display: block !important;
    opacity: 1 !important;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .slider-caption h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .slider-caption p {
        font-size: 14px;
    }
    
    .category-box img {
        height: 200px;
    }
    
    .category-overlay h3 {
        font-size: 18px;
    }
}
