/* ===================================
   Janpaksh Website Styles
   Color Theme: Black & Yellow
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #FFD700;
    --primary-dark: #FFC700;
    --secondary-color: #000000;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & 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: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.news-link {
    background-color: rgba(255, 215, 0, 0.1);
}

.lang-switch {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Mission Section */
.mission-section {
    background-color: var(--bg-light);
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.focus-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.focus-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.focus-card p {
    color: #666;
    line-height: 1.6;
}

/* ===================================
   FOUNDER SECTION
   =================================== */
.founder-section {
    background-color: var(--bg-white);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.founder-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.founder-text h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.founder-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.founder-text strong {
    color: var(--secondary-color);
}

/* Mission & Vision */
.mission-vision-section {
    background-color: var(--bg-light);
}

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

.mv-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

/* ===================================
   TIMELINE
   =================================== */
.work-timeline {
    background-color: var(--bg-white);
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    z-index: 1;
}

.timeline-content {
    flex-grow: 1;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Impact Counter */
.impact-counter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
    color: var(--text-light);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===================================
   SERVICES
   =================================== */
.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.service-detail-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-detail-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
}

.service-detail-content li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.7;
    color: #444;
}

.service-detail-content li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.service-detail-content strong {
    color: var(--secondary-color);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* ===================================
   CONTACT
   =================================== */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-text h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p,
.contact-text a {
    color: #555;
    line-height: 1.6;
}

.contact-text a {
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-container h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.captcha-group #captchaQuestion {
    color: var(--primary-color);
    font-weight: 700;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map Section */
.map-section {
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 0;
}

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

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.7;
    color: #ccc;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-disclaimer {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    color: #fff;
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.footer-disclaimer strong {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .founder-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

    .focus-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item {
        gap: 15px;
    }

    .timeline-container::before {
        left: 15px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-slider,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
