/* Front Page Styles for Inhostify 1.0 */

/* Main Structure */
.site-main {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #333;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Hero Banner Slider */
.hero-banner-slider {
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;
    padding: 0;
    height: 500px;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    background-color: #FFFFFF;
    overflow: hidden;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.slider-prev, .slider-next {
    display: none;
}

.slider-prev:hover, .slider-next:hover {
    background-color: white;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
    max-width: 1920px;
    width: 100%;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: auto;
    position: absolute;
    top: 120px;
    left: 0;
    background: rgba(255,255,255,0.8);
    padding: 40px 50px;
    border-radius: 0 10px 10px 0;
}

.hero-content h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #222;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.button.shop-now {
    background-color: var(--primary-color);
    color: white;
}

.button.view-more {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.button.view-more:hover {
    background-color: #f5f5f5;
}

.hero-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service Features */
.service-features {
    background-color: #f8f9fa;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 0;
}

.service-features .section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-features .features-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex: 1;
    min-width: 240px;
    padding: 15px;
    transition: all 0.3s ease;
}

.feature-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: scale(1.1);
}

.feature-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Promotional Banners - New Design per Reference Image */
.promotional-banners {
    padding: 20px 0;
    margin-top: 0;
    background-color: #f0f7ff;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Right Column Container for small banners */
.promo-right-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Small banners row */
.promo-small-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 165px;
}

/* Women's Style Banner - Left Side */
.promo-women-style {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 350px;
    width: 100%;
    background-color: #FEE9B7;
    display: flex;
    background-image: linear-gradient(to right, #FEE9B7 50%, #d85a41 50%);
}

.promo-women-style img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.promo-overlay {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 40px;
    background: linear-gradient(90deg, rgba(254,233,183,0.9) 0%, rgba(254,233,183,0.8) 40%, rgba(254,233,183,0.4) 70%, rgba(254,233,183,0) 100%);
    z-index: 2;
}

.promo-content-new {
    max-width: 100%;
    text-align: left;
    padding-top: 40px;
}

.new-arrivals {
    display: block;
    color: #4a90e2;
    font-size: 14px;
    font-weight: 500;
}

.promo-content-new h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.promo-content-new p {
    color: #666;
    margin-bottom: 15px;
    font-size: 18px;
}

.shop-now-btn {
    display: inline-block;
    background-color: white;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.shop-now-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* Small Banners - Right Side */
.promo-small-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-small-new {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 160px;
}

.promo-small-new.handbag {
    background-color: #E5C2A2;
}

.promo-small-new.watch {
    background-color: #f5f5f5;
}

.promo-wide {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 165px;
    background-color: #5D4A3F;
}

.promo-small-new img {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-wide img {
    position: absolute;
    right: 0;
    top: -20px;
    width: 60%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    z-index: 1;
}

.promo-small-new:hover img,
.promo-wide:hover img {
    transform: scale(1.05);
}

/* Small Banner Content */
.promo-content-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
}

.discount-badge.blue {
    background-color: #3498db;
}

.promo-content-small h3 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.promo-small-new.watch .promo-content-small h3 {
    color: #333;
}

.shop-now-link {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    text-decoration: none;
}

.promo-small-new.watch .shop-now-link {
    color: #333;
}

.shop-now-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.shop-now-link:hover i {
    transform: translateX(5px);
}

/* Wide Banner Content */
.promo-content-wide {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
}

.category-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.promo-content-wide h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.promo-content-wide p {
    color: white;
    margin-bottom: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 500;
}

.backpack-price-row {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.promo-content-wide .shop-now-btn {
    background-color: white;
    color: #333;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background-color: #eefaff;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4285f4;
    outline: none;
}

.submit-button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #3367d6;
}

/* Responsive Styles */
@media (max-width: 991px) {
    /* Hero Banner Slider */
    .hero-banner-slider {
        height: auto;
        min-height: 400px;
        display: block;
    }
    
    .slider-container {
        position: relative;
        width: 100%;
        height: 400px;
        display: block;
    }
    
    .hero-content {
        top: 50px;
        padding: 20px 25px;
        width: 70%;
        max-width: 400px;
        position: absolute;
        z-index: 10;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    /* Service Features */
    .features-wrapper {
        flex-direction: column;
        gap: 25px;
    }
    
    .feature-item {
        width: 100%;
    }
    
    /* Women's Style Banner */
    .promo-content-new .shop-now-btn {
        margin-top: 5px;
    }
    
    /* Backpack Banner */
    .promo-wide img {
        top: 20px;
    }
}

@media (max-width: 768px) {
    /* Hero Banner Slider */
    .hero-banner-slider {
        display: block;
    }
    
    .slider-container {
        height: 350px;
    }
    
    .hero-content {
        width: 80%;
        padding: 15px 20px;
        top: 40px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    /* Promotional Banners */
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .promo-small-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        height: auto;
    }
    
    .promo-women-style,
    .promo-small-new,
    .promo-wide {
        height: 200px;
    }
    
    .promo-overlay {
        width: 60%;
        padding: 15px;
    }
    
    .promo-content-new {
        padding-top: 10px;
    }
    
    .promo-content-new .shop-now-btn {
        margin-top: 0;
    }
    
    .promo-content-new h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .promo-content-small {
        width: 50%;
        padding: 15px;
    }
    
    .promo-content-small h3 {
        font-size: 24px;
    }
    
    .promo-content-wide {
        width: 60%;
        padding: 15px;
    }
    
    /* Featured Products */
    .product-filter-tabs {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin-top: 0;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }
    
    .filter-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: auto;
        display: inline-flex;
    }
    
    .filter-list li {
        font-size: 12px;
        padding: 4px 8px;
        display: inline-block;
        flex: 0 0 auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Fashion Categories */
    .category-banners {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }
    
    .category-banner {
        flex: 0 0 85%;
        min-width: 250px;
    }
    
    .category-content {
        width: 60%;
    }
    
    /* Fashion Category Buttons */
    .category-item .btn-container {
        display: flex;
        justify-content: flex-end;
        position: absolute;
        right: 5px;
        bottom: 5px;
    }
    
    .category-item .shop-now-btn {
        padding: 3px 6px;
        font-size: 10px;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    /* Hero Banner Slider */
    .hero-banner-slider {
        min-height: 300px;
        display: block !important;
    }
    
    .slider-container {
        height: 300px;
        display: block !important;
    }
    
    .slider-slide {
        display: block !important;
    }
    
    .hero-content {
        width: 90%;
        top: 20px;
        padding: 10px;
        display: block !important;
    }
    
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .hero-content h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    /* Promotional Banners */
    .promo-small-row {
        grid-template-columns: 1fr;
    }
    
    .promo-women-style,
    .promo-small-new,
    .promo-wide {
        height: 180px;
    }
    
    .promo-overlay {
        width: 70%;
    }
    
    .promo-content-new {
        padding-top: 5px;
    }
    
    .promo-content-new h3 {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .promo-content-new p {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .promo-content-new .shop-now-btn {
        margin-top: 0;
        padding: 5px 15px;
        font-size: 14px;
    }
    
    .promo-content-small {
        width: 60%;
    }
    
    .promo-content-small h3 {
        font-size: 20px;
    }
    
    .promo-content-wide {
        width: 70%;
    }
    
    .promo-content-wide h3 {
        font-size: 22px;
    }
    
    /* Featured Products */
    .section-title {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product {
        margin-bottom: 10px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    /* Fashion Categories */
    .fashion-categories .category-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }
    
    .fashion-categories .category-item {
        flex: 0 0 250px;
        margin-bottom: 0;
        min-width: 250px;
    }
    
    .category-item .shop-now-btn {
        font-size: 8px;
        padding: 3px 6px;
        float: right;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }
    
    /* Contact Form */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background-color: #fff;
}

.products-wrapper {
    margin: 0 -15px;
}

/* Product Filter Tabs - Modern Style */
.product-filter-tabs {
    margin-top: 30px;
    margin-bottom: 40px;
}

.filter-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto;
    padding: 8px;
    list-style: none;
    max-width: 800px;
    background-color: #f8f9fa;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.filter-list li {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    color: #555;
    z-index: 1;
}

.filter-list li:hover {
    color: var(--primary-color, #00a0d2);
}

.filter-list li.active {
    background-color: var(--primary-color, #00a0d2);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-list li::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color, #00a0d2);
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.filter-list li:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.filter-list li.active::after {
    display: none;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-filter-tabs {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
}

.product {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.product:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.product-action:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-rating {
    color: #FFD700;
    font-size: 14px;
}

.add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background-color: #f9f9f9;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product:hover .add-to-cart {
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 1;
}

.product-badge.sale {
    background-color: var(--secondary-color);
}

.product-badge.new {
    background-color: #4CAF50;
}

/* Fashion Category Banners */
.fashion-categories {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.category-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.category-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: 30px;
    color: white;
}

.category-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.category-content p {
    margin-bottom: 20px;
}

.category-banner:hover img {
    transform: scale(1.05);
}

/* Featured Categories */
.featured-categories {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.category-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: white;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 16px;
}

/* Brand Logos */
.brand-logos {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
}

.logos-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.brand-logo {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.brand-logo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #4285f4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Latest News */
.latest-news {
    padding: 50px 0;
    background-color: #f0f7ff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.post-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        padding-right: 20px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 30px 0;
    }
    
    .hero-banner .container {
        flex-direction: column;
        min-height: auto;
        padding-bottom: 320px;
    }
    
    .hero-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: absolute;
        width: 100%;
        height: 300px;
        top: auto;
        bottom: 0;
    }
    
    .features-wrapper {
        flex-direction: column;
        gap: 25px;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "large"
            "small1"
            "small2";
    }
    
    .promo-large, 
    .promo-small {
        height: 300px;
    }
    
    .promo-large .promo-content {
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        text-align: center;
    }
    
    .category-banners {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .logos-wrapper {
        justify-content: center;
    }
    
    .brand-logo {
        min-width: 120px;
    }
}
