/* assets/css/style.css */
:root {
    --primary-color: #b5009d; /* Vibrant purple */
    --secondary-color: #42b03c; /* Green */
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --hover-color: #d825c0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--hover-color);
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #008955;
    border-color: #008955;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
}

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

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

#preloader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Header & Navigation */
/* Continuation of assets/css/style.css */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

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

.top-bar .contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: var(--primary-color);
    margin-left: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.navbar {
    padding: 15px 0;
}

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

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--light-color);
    background-image: url('../img/sdg1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    justify-content: center;
    text-align: center;
}

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

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* About Section */
.about-section .about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-section .about-img img {
    border-radius: 10px;
    transition: var(--transition);
}

.about-section .about-img:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

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

.about-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    flex: 0 0 50%;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 10px;
}

/* Product Section */
.products-section .product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    background-color: white;
}

.products-section .product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

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

.product-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Impact Section */
.impact-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.impact-item {
    margin-bottom: 30px;
}

.impact-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.impact-count {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.impact-title {
    font-size: 18px;
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 15px;
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Blog Section */
.blog-section .blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    background-color: white;
}

.blog-section .blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
}

.blog-body {
    padding: 20px;
}

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

.blog-author {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-color);
}

.blog-author i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Single Blog Page */
.blog-detail {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.blog-detail-img {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-detail-img img {
    width: 100%;
    height: auto;
}

.blog-detail-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-detail-meta span {
    margin-right: 20px;
    color: var(--gray-color);
    font-size: 14px;
}

.blog-detail-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-detail-content {
    line-height: 1.8;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    margin-top: 30px;
    margin-bottom: 20px;
}

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

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background-color: var(--light-color);
    margin: 20px 0;
    font-style: italic;
}

/* Sidebar */
.sidebar-widget {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.widget-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-color);
    transition: var(--transition);
}

.sidebar-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.recent-post {
    display: flex;
    margin-bottom: 15px;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post-img {
    width: 80px;
    height: 60px;
    margin-right: 15px;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.recent-post-info h5 {
    margin-bottom: 5px;
    font-size: 16px;
}

.recent-post-info span {
    font-size: 12px;
    color: var(--gray-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    color: white;
    height: 100%;
}

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

.contact-info-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--secondary-color);
}

.contact-info-content h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-info-content p {
    margin-bottom: 0;
}

.contact-map {
    margin-top: 30px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 80px;
}

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

.footer-widget h3 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 22px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: white;
    transition: var(--transition);
}

.quick-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.quick-links ul li a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-widget ul {
    list-style: none;
    padding: 0;
}

.contact-widget ul li {
    display: flex;
    margin-bottom: 20px;
}

.contact-widget ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
    margin-top: 5px;
}

.copyright {
    background-color: #212529;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright p {
    margin-bottom: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    z-index: 99;
    display: none;
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--hover-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .about-img {
        margin-bottom: 30px;
    }
    .feature-item {
        flex: 0 0 100%;
    }
    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .top-bar .contact-info,
    .top-bar .social-links {
        text-align: center;
        margin-bottom: 10px;
    }
    .contact-form {
        margin-bottom: 30px;
    }
}

/* Admin Styles */
.admin-login {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.admin-login h2 {
    text-align: center;
    margin-bottom: 30px;
}

.dashboard-cards {
    margin-bottom: 30px;
}

.dashboard-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.dashboard-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.dashboard-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.admin-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--light-color);
    text-align: left;
}

.admin-action-btn {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    margin-right: 5px;
}

.admin-form .form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.admin-form textarea.form-control {
    height: 200px;
}