/* .hero-section1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
} */

/* .hero-section1::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.1) !important;
    z-index: 1 !important;
} */

.hero-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0 20px !important;
}
.hero-title {
    color: white !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2rem !important;
    margin-bottom: 40px !important;
    font-weight: 300 !important;
}


.search-container {
    margin-top: 30px !important;
}

.search-form,
.hero .search-form,
.hero-section1 .search-form {
    display: flex !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 50px !important;
    padding: 4px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    align-items: center !important;
    overflow: visible !important;
    gap: 0 !important;
    border: none !important;
}

.search-form:hover,
.hero .search-form:hover,
.hero-section1 .search-form:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25) !important;
}
.search-input,
.hero .search-input,
.hero-section1 .search-input,
.search-form .search-input,
input[name="search"] {
    flex: 1 !important;
    border: none !important;
    padding: 16px 25px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
    outline: none !important;
    background: transparent !important;
    color: #333 !important;
    min-width: 0 !important;
    height: 50px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: auto !important;
}

.search-input::placeholder,
.hero .search-input::placeholder,
.hero-section1 .search-input::placeholder {
    color: #999 !important;
    font-style: italic !important;
}
.search-input:focus,
.hero .search-input:focus,
.hero-section1 .search-input:focus {
    outline: none !important;
    background: rgba(102, 126, 234, 0.05) !important;
    border: none !important;
}
.search-btn,
.hero .search-btn,
.hero-section1 .search-btn,
.search-form .search-btn,
button[type="submit"] {
    background: linear-gradient(45deg, #ff9500, #ff7b00) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 90px !important;
    height: 50px !important;
    margin-left: -8px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
    position: relative !important;
}
.search-btn:hover,
.hero .search-btn:hover,
.hero-section1 .search-btn:hover,
.search-form .search-btn:hover {
    background: linear-gradient(45deg, #ff7b00, #ff9500) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4) !important;
    color: white !important;
}
.search-btn:active,
.hero .search-btn:active,
.hero-section1 .search-btn:active {
    transform: scale(0.98) !important;
}

/* Search Header Improvements */
.search-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 30px 0;
    color: white;
}

.search-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* FIXED BUTTON STYLES */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
    min-height: 40px; /* Consistent height */
}

.btn-danger {
    background: linear-gradient(45deg, #ff4757, #ff3838);
    color: white !important;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #ff3838, #ff4757);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255,71,87,0.3);
}

.btn-primary {
    background: linear-gradient(45deg, #3742fa, #2f3542);
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #2f3542, #3742fa);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(55,66,250,0.3);
}

/* FIXED QUICK SEARCH */
.quick-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-search form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.quick-search-input {
    padding: 10px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
    min-width: 200px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.quick-search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.quick-search-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

/* FIXED FLOATING SEARCH WIDGET */
.floating-search-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-search-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(102,126,234,0.5);
}

.floating-search-form {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    min-width: 280px;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.floating-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.floating-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.floating-search-submit {
    width: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.floating-search-submit:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

/* Content Section Improvements */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

/* News Section */
.news-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.featured-news {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.featured-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d5a27;
}

.news-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-list {
    padding: 0;
}

.news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2d5a27;
    line-height: 1.4;
}

.news-content h4 a {
    color: #2d5a27;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h4 a:hover {
    color: #667eea;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.slide-in {
    animation: slideInUp 0.6s ease-out;
}

/* Animations */
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.6); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN - FIXED */
@media (max-width: 768px) {
      /* .hero-title {
        font-size: 2rem !important;
    } */
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .search-form,
    .hero .search-form,
    .hero-section1 .search-form {
        flex-direction: column !important;
        border-radius: 25px !important;
        padding: 20px !important;
        max-width: calc(100vw - 40px) !important;
        gap: 15px !important;
    }
    
  .search-input,
    .hero .search-input,
    .hero-section1 .search-input {
        margin-bottom: 0 !important;
        border-radius: 25px !important;
        width: 100% !important;
        text-align: left !important;
        height: 50px !important;
        margin-left: 0 !important;
    }
    
    .search-btn,
    .hero .search-btn,
    .hero-section1 .search-btn,
    .search-form button,
    form[action*="search"] button {
        border-radius: 25px !important;
        width: 100% !important;
        justify-content: center !important;
        height: 50px !important;
        margin-left: 0 !important;
    }
/*     
    .search-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .quick-search {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .quick-search form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .quick-search-input {
        min-width: unset;
        width: 100%;
    }
    
    .floating-search-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-search-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-search-form {
        min-width: 250px;
        right: -100px;
    }
    
    .news-item {
        flex-direction: column;
        padding: 1rem;
    }

    .news-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .btn {
        min-width: 120px;
        text-align: center;
    } */
}

@media (max-width: 480px) {
  
    .hero-container {
        padding: 0 15px !important;
    }
    
    .search-form,
    .hero .search-form,
    .hero-section1 .search-form {
        margin: 0 10px !important;
    }
    /* .floating-search-form {
        right: -120px;
        min-width: 220px;
    }
    
    .search-info h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        min-width: 100px;
        padding: 8px 16px;
        font-size: 13px;
    } */
}

@media (max-width: 360px) {
    .quick-search-input {
        font-size: 13px;
    }
    
    .floating-search-form {
        right: -140px;
        min-width: 200px;
    }
}