/* Base Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --secondary: #10b981;
    --accent: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --danger: #ef4444;
    --success: #10b981;
}
/* {
    scroll-behavior: smooth;
}*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
p {
  text-align: center;
  font-size: 1.2rem;
  color: #f1f5f9;
}
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}
/* {
    scroll-behavior: smooth;
}*/




/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    margin-right: 0.75rem;
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 2rem;
}
.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
}

.account-btn {
    background: none;
    border: none;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.account-btn:hover {
    background-color: var(--light-gray);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--dark);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
}

.account-dropdown:hover .dropdown-content {
    display: block;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn i {
    margin-right: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */

.tast-body{
     height: 550px; 
     width: 100%; 
     color: white; 
     margin-top: 100px; 
}
.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section Styles */
.section-header {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    color: white;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    color: white;
}

.features-grid {
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.75), rgba(29,78,216,0.2));
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transition: transform 0.4s;
    transition-delay: 0.2s;
    transform: rotateY(360deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: white;
    line-height: 1.7;
}

/* Map Section */
.map-section {
    opacity: 0.9;
    padding: 5rem 2rem;
}

.map-container {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Issues Section */
.issues-section {
    padding: 5rem 2rem;
}

.issues-grid {
    
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgb(227, 209, 209);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}


.issue-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.75), rgba(29,78,216,0.2));
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.issue-card:hover {
    
    
    transform: translateY(-50px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.issue-image {
    height: 200px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
}

.issue-content {
    padding: 1.5rem;
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.issue-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--primary-light);
    color: black;
}

.issue-date {
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
}

.issue-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.issue-location {
    display: flex;
    align-items: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.issue-location i {
    margin-right: 0.5rem;
}

.issue-description {
    color: white;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.issue-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

.issue-status {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.status-in-progress {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.status-resolved {
    background-color: #dcfce7;
    color: #047857;
}

.issue-votes {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;  
    
}

.issue-votes i {
    margin-right: 0.3rem;
    color: rgb(255, 206, 82);
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.75), rgba(29,78,216,0.2));
    color: white;
    position: relative;
    overflow: hidden;
}
.testimonial-card:hover{
    transform: translateY(-10px);
    transition: transform 0.4s ease;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.testimonial-card {
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgb(227, 209, 209);
}

.testimonial-text {
    font-style: italic;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin-right: 1rem;
    overflow: hidden;
}

.author-info h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.8rem;
    color: white;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.75), rgba(29,78,216,0.2));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #334155;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero::before {
        width: 40%;
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-right {
        width: 100%;
        margin-top: 1rem;
        justify-content: space-between;
    }
    
    .nav-links {
        margin-top: 1.5rem;
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
        text-align: center;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .account-dropdown {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
    }
}

