/*
* Lavan Corridor Enterprises - Custom Styles
* Colors:
* - Primary: #144948 (Deep Teal)
* - Secondary: #F6851F (Orange)
* - Accent: #EA222D (Red)
*/

/* Base Styles */
:root {
    --primary-color: #144948;
    --secondary-color: #F6851F;
    --accent-color: #EA222D;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333;
    --border-color: #e1e1e1;
    --gray-color: #6c757d;
    --white-color: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
.site-header {
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: var(--white-color);
}

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.contact-info li {
    margin-right: 20px;
}

.contact-info li a {
    color: var(--white-color);
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.social-links li {
    margin-left: 15px;
}

.social-links li a {
    color: var(--white-color);
    font-size: 14px;
}

.main-header {
    background-color: var(--white-color);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 60px;
}

.quick-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.quick-contact-item .icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--primary-color);
}

.quick-contact-item .text h4 {
    font-size: 14px;
    margin-bottom: 0;
}

.quick-contact-item .text p {
    margin-bottom: 0;
    font-size: 13px;
}

/* Navigation Styles */
.main-navigation {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--white-color);
    font-weight: 500;
}

.nav-menu li.active a,
.nav-menu li a:hover {
    background-color: var(--secondary-color);
}

.nav-menu .has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: var(--white-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-menu .has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu .has-dropdown .dropdown li a {
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu .has-dropdown .dropdown li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
}

.nav-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--white-color);
    cursor: pointer;
    padding: 0 15px;
}

.search-form-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background-color: var(--white-color);
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    outline: none;
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Main Slider */
.main-slider {
    position: relative;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 0;
}

.carousel-caption h1 {
    font-size: 48px;
    color: var(--white-color);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 18px;
    color: var(--white-color);
    margin-bottom: 30px;
}

/* Services Showcase */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.service-card .read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.service-card .read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-card .read-more:hover {
    color: var(--secondary-color);
}

.service-card .read-more:hover i {
    transform: translateX(5px);
}

/* About Preview Section */
.about-image {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.about-image img {
    border-radius: 5px;
}

.about-content {
    padding: 30px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    position: relative;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png') repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white-color);
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Styles */
.site-footer {
    background-color: #0d3331;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
}

.footer-widget .social-links {
    margin-top: 20px;
    justify-content: flex-start;
}

.footer-widget .social-links li {
    margin-left: 0;
    margin-right: 15px;
}

.footer-widget .social-links li a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-widget .social-links li a:hover {
    background-color: var(--secondary-color);
}

.widget-title {
    color: var(--white-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--secondary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.contact-info li p {
    margin-bottom: 0;
}

.contact-info li p a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    background-color: #0a2927;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-bottom-links ul li {
    margin-left: 20px;
}

.footer-bottom-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .quick-contact {
        justify-content: center;
        margin-top: 20px;
    }
    
    .carousel-item {
        height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .logo {
        text-align: center;
    }
    
    .social-links, .contact-info {
        justify-content: center;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .copyright {
        text-align: center;
    }
}

/* About Page Styles */
.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 48px;
    color: var(--white-color);
    margin-bottom: 15px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item, .breadcrumb-item a {
    color: var(--white-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--white-color);
}

/* Contact Page Styles */
.contact-info-box {
    background-color: var(--white-color);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-box .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.contact-info-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info-box p {
    margin-bottom: 0;
    color: var(--gray-color);
}

.contact-form {
    background-color: var(--white-color);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 4px;
}

textarea.form-control {
    height: 150px;
}