/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Slideshow styles */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

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


/* Header Styles */
.header {
    background: linear-gradient(135deg, #22ae18 0%, #3fde47 100%);
    color: white;
    height: 80px;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container{
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-section img{
    width: 80px;
    height: 80px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.party-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.party-slogan {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-list {
    display: flex;
    width: 50;
    list-style: none;
    gap: 2rem;
    align-items: center;
}


.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #22ae18;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3fde47 0%, #22ae18 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3fde47;
    border: 2px solid #3fde47;
}

.btn-secondary:hover {
    background: #3fde47;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #3fde47;
    border: 2px solid #3fde47;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #3fde47;
    color: white;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #22ae18;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Leadership Section */
.leadership {
    background: #f8fafc;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.leader-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #3fde47 0%, #22ae18 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.avatar-placeholder img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #22ae18;
    margin-bottom: 0.5rem;
}

.leader-title {
    font-size: 1rem;
    color: #3fde47;
    font-weight: 500;
    margin-bottom: 1rem;
}

.leader-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.leader-responsibilities h4 {
    color: #22ae18;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.leader-responsibilities ul {
    list-style: none;
    padding: 0;
}

.leader-responsibilities li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.leader-responsibilities li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services {
    background: #f8fafc;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    width: 360px;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 20px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
}
.service-icon-majdoor {
    width: 10px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #22ae18;
}

.kisaan {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #22ae18;
}

.majdoor{
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 80px;
    font-weight: 600;
    color: #22ae18;
}

.service-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* objective Section */
.objectives {
    background: #f8fafc;
}

.objectives-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.objective-card {
    background: white;
    width: 360px;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.objective-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.objective-icon {
    width: 20px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
}

.objective-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #22ae18;
}

.objective-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.objective-action {
    text-align: center;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.contact-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.contact-item {
    display: flex;
    width: 400px;
    gap: 1rem;
    margin-bottom: 2rem;
    
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3fde47 0%, #22ae18 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #22ae18;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #22ae18;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}
.footer-section-links{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section-links h3,
.footer-section-links h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section-links p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section-links ul {
    list-style: none;
    padding: 0;
}

.footer-section-links ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section-links ul li a:hover {
    color: white;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 1285px) {
    .nav-toggle {
        display: flex;
    }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: -166px;
        background: #22ae18;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
        width: 200px;
        border-radius: 10px;
    }
    
    .nav-list li {
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        text-align: center;
    } 
}

@media(max-width:900px){
    .hero-grid{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {        
    .hero {
        padding: 6rem 0 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .leadership-grid,
    .services-grid,
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 710px) {
    .party-info h1 {
        font-size: 21px;
    }
}

@media (max-width: 570px) {
    .party-info h1 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .party-info h1 {
        display: none;
    }
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .leader-card,
    .service-card,
    .objective-card {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus,
.social-link:focus {
    outline: 2px solid #3fde47;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #ffffff;
    }
    
    .leadership,
    .objectives {
        background: #f0f0f0;
    }
}
