/* Main Styles for Yandi Website */

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-gray {
    background-color: #f5f5f5;
}

.bg-dark {
    background-color: #343a40;
    color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

.title {
    font-size: 36px;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 18px;
    color: #727272;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #727272;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #003d82;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #727272;
    color: #727272;
}

.btn-outline:hover {
    background-color: #727272;
    color: #fff;
}

.btn-primary {
    background-color: #727272;
    color: #fff;
}

.btn-service, .btn-cta {
    display: inline-block;
    padding: 10px 25px;
    background-color: #727272;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover, .btn-cta:hover {
    background-color: #003d82;
    transform: translateY(-3px);
}

/* Header Area */
.header-area {
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-logo img {
    max-height: 60px;
}

.header-btn {
    text-align: right;
}

/* Main Menu */
.main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
    margin: 0 15px;
}

.main-menu li a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-menu li a:hover {
    color: #727272;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-area {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-btn {
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Area */
.service-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 60px;
    height: 60px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #727272;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #003d82;
}

/* About Area */
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 30px 0;
}

.about-btn {
    margin-top: 30px;
}

/* Why Choose Us Area */
.why-choose-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* CTA Area */
.cta-area {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 0;
    color: #fff;
}

/* Footer Area */
.footer-section {
    padding: 80px 0 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-widget-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-menu ul li {
    margin-bottom: 10px;
}

.footer-widget-menu ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-widget-menu ul li a:hover {
    color: #727272;
    padding-left: 5px;
}

.contact-info {
    margin-top: 20px;
}

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

.single-contact i {
    margin-right: 10px;
    color: #727272;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #727272;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    z-index: 99;
    display: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: block;
}

.back-to-top:hover {
    background-color: #003d82;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #727272;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page Banner */
.techwix-hero-section-03 {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.techwix-hero-section-03::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.techwix-hero-section-03 .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

/* Feature Box */
.feature-box {
    display: flex;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-right: 20px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
}

textarea.form-control {
    height: auto;
}

.required {
    color: #dc3545;
}

.form-messages {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Contact Info */
.contact-info-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-item .icon {
    margin-bottom: 20px;
}

.contact-info-item .icon i {
    font-size: 40px;
    color: #727272;
}

.contact-info-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-menu-wrapper {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        text-align: right;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .cta-btn {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .title {
        font-size: 28px;
    }
    
    .hero-area {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
