/* 
* HUMFAI TECHNOLOGIES PVT LTD
* Custom Styles
*/

/* ===== Global Styles ===== */
body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    padding-top: 80px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    color: #c0392b;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #96281b;
    text-decoration: none;
}

/* ===== Navigation ===== */
.navbar {
    background: #fff;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
    min-height: 80px;
}

.navbar-brand {
    padding: 5px 15px;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav > li > a {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 25px 15px;
    transition: all 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #c0392b !important;
    background: transparent;
}

.navbar-nav > li.active > a {
    color: #c0392b !important;
    background: transparent;
}

.navbar-nav > li > .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-nav > li > .dropdown-menu > li > a {
    font-weight: 500;
    font-size: 13px;
    padding: 8px 20px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.navbar-nav > li > .dropdown-menu > li > a:hover {
    background: #c0392b;
    color: #fff;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: heroBg 20s linear infinite;
}

@keyframes heroBg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #e74c3c;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.hero-buttons .btn {
    padding: 14px 35px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-right: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: #e74c3c;
    border: 2px solid #e74c3c;
    color: #fff;
}

.btn-primary-custom:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

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

.btn-outline-custom:hover {
    background: #fff;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #e74c3c;
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 20px auto 0;
}

.section-light {
    background: #f8f9fa;
}

.section-dark {
    background: #1a1a2e;
    color: #fff;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.about-features li i {
    color: #e74c3c;
    margin-right: 12px;
    width: 20px;
}

/* ===== Product Cards ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.product-card-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-size: 70px;
    color: #c0392b;
}

.product-card-body {
    padding: 25px;
}

.product-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.product-card-body p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-card-body .btn-sm {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 3px;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    padding: 60px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
}

/* ===== Why Choose Us ===== */
.why-choose-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-choose-card .icon {
    font-size: 50px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.why-choose-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.why-choose-card p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
    background: #1a1a2e;
    color: #b0b0b0;
    padding: 60px 0 0;
}

.site-footer h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #e74c3c;
}

.site-footer p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    padding: 6px 0;
    font-size: 14px;
}

.footer-links li a {
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

.footer-contact li i {
    width: 25px;
    color: #e74c3c;
    margin-right: 5px;
}

.footer-contact li a {
    color: #b0b0b0;
}

.footer-contact li a:hover {
    color: #e74c3c;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    margin-top: 40px;
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
}

/* ===== Page Header ===== */
.page-header-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header-section h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header-section p {
    font-size: 18px;
    opacity: 0.8;
}

/* ===== Contact Page ===== */
.contact-info-card {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-info-card .icon {
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.contact-info-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.contact-info-card p a {
    color: #7f8c8d;
}

.contact-info-card p a:hover {
    color: #e74c3c;
}

/* ===== Product Detail Page ===== */
.product-category-section {
    padding: 80px 0;
}

.category-header {
    margin-bottom: 50px;
}

.category-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.subcategory-list {
    list-style: none;
    padding: 0;
}

.subcategory-list li {
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.subcategory-list li:hover {
    border-color: #e74c3c;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.1);
    transform: translateX(5px);
}

.subcategory-list li i {
    color: #e74c3c;
    font-size: 20px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.subcategory-list li span {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

/* ===== About Page ===== */
.mission-vision-card {
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    height: 100%;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.mission-vision-card .icon {
    font-size: 50px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.mission-vision-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.mission-vision-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ===== Clients Page ===== */
.client-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.client-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.client-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        min-height: 60px;
        padding: 5px 0;
    }
    
    .navbar-nav > li > a {
        padding: 12px 15px;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item .stat-number {
        font-size: 34px;
    }
    
    .page-header-section h1 {
        font-size: 30px;
    }
}
