/*-----------------------------------
# General Styles
-----------------------------------*/
:root {
    --primary-color: #006fb9;
    --secondary-color: #00a65a;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.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: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-title-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.bg-light {
    background-color: var(--light-color);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/*-----------------------------------
# Preloader
-----------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: var(--white-color);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 111, 185, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/*-----------------------------------
# Header & Navigation
-----------------------------------*/
.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 10px 0;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.logo {
    height: 50px;
}

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    margin: 0 8px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 15px;
    bottom: 5px;
    transition: var(--transition);
}

.nav-link:hover:after, .nav-link.active:after {
    width: calc(100% - 30px);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    padding: 15px 0;
}

.dropdown-item {
    padding: 8px 25px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(0, 111, 185, 0.1);
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/*-----------------------------------
# Hero Section
-----------------------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-position: center;
    background-size: cover;
    display: flex !important;
    align-items: center;
    color: var(--white-color);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.slide1 {
    background-image: url('../../images/slide.png');
}

.slide2 {
    background-image: url('../images/slides/slide2.jpg');
}

.slide3 {
    background-image: url('../images/slides/slide3.jpg');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.slider-arrows {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 5;
    display: flex;
}

.slider-arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border: none;
    font-size: 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrows button:hover {
    background-color: var(--primary-color);
}

/*-----------------------------------
# About Section
-----------------------------------*/
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    flex: 0 0 33.333%;
    text-align: center;
    padding: 20px 15px;
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
    color: var(--gray-color);
}

/*-----------------------------------
# Companies Section
-----------------------------------*/
.company-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.company-card:hover {
    transform: translateY(-10px);
}

.company-img {
    height: 200px;
    overflow: hidden;
}

.company-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.company-card:hover .company-img img {
    transform: scale(1.1);
}

.company-content {
    padding: 25px;
}

.company-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.company-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.btn-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/*-----------------------------------
# Testimonials Section
-----------------------------------*/
.testimonial-slider {
    margin: 0 -15px;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 24px;
    color: rgba(0, 111, 185, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray-color);
}

/*-----------------------------------
# Contact Section
-----------------------------------*/
.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-social h4 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 111, 185, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.contact-form-wrapper {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-control {
    height: 50px;
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

textarea.form-control {
    height: auto;
}

.form-submit {
    text-align: center;
}

/*-----------------------------------
# Footer
-----------------------------------*/
.footer-section {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 25px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--white-color);
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact .contact-item {
    margin-bottom: 20px;
}

.footer-contact .contact-item i {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 60px;
}

.footer-bottom p {
    margin-bottom: 0;
}

/*-----------------------------------
# Back to Top Button
-----------------------------------*/
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/*-----------------------------------
# Responsive
-----------------------------------*/
@media (max-width: 1199px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow);
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-section, .slide {
        height: 600px;
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section, .slide {
        height: 500px;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .slider-arrows {
        bottom: 20px;
        right: 20px;
    }
    
    .slider-arrows button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 25px;
    }
}