/* Technomart-Inspired Custom Styles */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
}

/* Navigation Enhancements */
.header-area .main-menu nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-area .main-menu nav ul li a:hover {
    color: #40b349 !important;
}

.header-area .main-menu nav ul li .submenu {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.header-area .main-menu nav ul li .submenu li a {
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.header-area .main-menu nav ul li .submenu li a:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

/* Hero Section Enhancements */
.slider-area .single-slider {
    position: relative;
}

.slider-area .single-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 179, 73, 0.8) 0%, rgba(45, 128, 53, 0.9) 100%);
    z-index: 1;
}

/* Primary Button Styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%) !important;
    color: white !important;
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(64, 179, 73, 0.3) !important;
    transition: all 0.3s ease !important;
}
.btn-primary-custom:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(64, 179, 73, 0.4) !important;
    color: white !important;
}
.btn-primary-custom i {
    margin-left: 5px;
}

.slider-area .container {
    position: relative;
    z-index: 2;
}

.search-box {
    background: white;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-box .input-form input {
    border: none;
    padding: 15px 25px;
    font-size: 16px;
}

.search-box .search-form a {
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%);
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(64, 179, 73, 0.3);
}

.search-box .search-form a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 179, 73, 0.4);
}

/* Services/Resources Cards */
.single-services {
    background: white;
    border-radius: 10px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.single-services:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.single-services .services-ion {
    margin-bottom: 20px;
}

.single-services .services-ion span {
    font-size: 50px;
    color: #40b349;
    transition: all 0.3s ease;
}

.single-services:hover .services-ion span {
    transform: scale(1.1);
    color: #2d8035;
}

.single-services .services-cap h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.single-services .services-cap h5 a {
    color: #333;
    transition: color 0.3s ease;
}

.single-services:hover .services-cap h5 a {
    color: #40b349;
}

.single-services .services-cap span {
    color: #666;
    font-size: 14px;
}

/* Section Titles */
.section-tittle h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

/* Buttons */
.border-btn2 {
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%);
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(64, 179, 73, 0.3);
}

.border-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 179, 73, 0.4);
}

.btn.head-btn2 {
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%);
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn.head-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 179, 73, 0.4);
}

/* About Section */
.about-area {
    background-color: #f8f9fa;
}

.about-content p {
    line-height: 1.8;
    color: #555;
}

/* Footer Enhancements */
.footer-area {
    background-color: #1a1a2e !important;
}

.footer-area .footer-tittle h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-area .footer-tittle h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%);
}

.footer-area a:hover {
    color: #40b349 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero__caption h1 {
        font-size: 32px !important;
    }
    
    .hero__caption p {
        font-size: 16px !important;
    }
    
    .section-tittle h2 {
        font-size: 28px !important;
    }
    
    .search-box {
        border-radius: 10px;
    }
    
    .search-box .search-form a {
        border-radius: 10px;
        padding: 12px 25px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Card Hover Effects */
.single-services {
    position: relative;
    overflow: hidden;
}

.single-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 179, 73, 0.05) 0%, rgba(45, 128, 53, 0.05) 100%);
    transition: all 0.5s ease;
    z-index: 0;
}

.single-services:hover::before {
    left: 0;
}

.single-services > * {
    position: relative;
    z-index: 1;
}

/* Preloader Enhancement */
#preloader-active {
    background: linear-gradient(135deg, #40b349 0%, #2d8035 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
