/* ============================================
   আজকে কি বার - Main Stylesheet
   Color Scheme: #18eaa9 (Primary Teal)
   Font: Noto Sans Bengali
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Bengali', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

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

.mt-20 {
    margin-top: 20px;
}

/* --- Header --- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-highlight {
    color: #18eaa9;
}

.main-nav .nav-list {
    display: flex;
    gap: 8px;
}

.main-nav .nav-list li a {
    display: block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    color: #555;
    transition: all 0.3s;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    background: #18eaa9;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #18eaa9;
    color: #18eaa9;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #18eaa9 0%, #0fd494 50%, #0bb87e 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.hero-section .hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hero-section .hero-bangla-date {
    font-size: 18px;
    margin-top: 12px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* --- Date Cards Section --- */
.date-cards-section {
    padding: 40px 0;
}

.date-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.date-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #18eaa9;
    transition: transform 0.3s, box-shadow 0.3s;
}

.date-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.date-card.bangla-card {
    border-top-color: #18eaa9;
}

.date-card.english-card {
    border-top-color: #6C5CE7;
}

.date-card.hijri-card {
    border-top-color: #ff6c6d;
}

.date-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.bangla-card .date-card-icon { color: #18eaa9; }
.english-card .date-card-icon { color: #6C5CE7; }
.hijri-card .date-card-icon { color: #ff6c6d; }

.date-card h3 {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.date-card .date-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.date-card .date-year {
    font-size: 14px;
    color: #999;
}

.copy-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.copy-btn:hover {
    background: #18eaa9;
    color: #fff;
}

.copy-btn.copied {
    background: #4CAF50;
    color: #fff;
}

/* --- Clock Section --- */
.clock-section {
    background: #fff;
    padding: 40px 0;
}

.clock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.clock-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.clock-card h3 {
    font-size: 14px;
    color: #18eaa9;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.clock-display {
    font-size: 48px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.clock-label {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
}

/* --- Section Common --- */
.content-section {
    padding: 50px 0;
}

.content-section:nth-child(even) {
    background: #fff;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #18eaa9;
    border-radius: 2px;
}

/* --- Info Section --- */
.info-block {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.info-block h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #18eaa9;
}

.info-block h3 {
    font-size: 18px;
    color: #18eaa9;
    margin: 16px 0 8px;
}

.info-block p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-block ul, .info-block ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

.info-block ul li, .info-block ol li {
    list-style: disc;
    margin-bottom: 6px;
    color: #555;
}

.info-block ol li {
    list-style: decimal;
}

/* --- Month Table --- */
.month-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
}

.month-table th {
    background: #18eaa9;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.month-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.month-table tr:nth-child(even) {
    background: #f8f9fa;
}

.month-table tr:hover {
    background: #e8faf3;
}

/* --- Calendar Section --- */
.calendar-section {
    padding: 50px 0;
    background: #fff;
}

.calendar-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.calendar-tab {
    padding: 10px 24px;
    border: 2px solid #18eaa9;
    border-radius: 30px;
    background: transparent;
    color: #18eaa9;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-tab.active,
.calendar-tab:hover {
    background: #18eaa9;
    color: #fff;
}

.calendar-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-nav button {
    background: #18eaa9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-nav button:hover {
    background: #0fd494;
}

.calendar-nav .calendar-month-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-grid .cal-header {
    background: #18eaa9;
    color: #fff;
    padding: 10px 4px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
}

.calendar-grid .cal-day {
    padding: 12px 4px;
    text-align: center;
    font-size: 15px;
    border-radius: 4px;
    cursor: default;
    transition: background 0.2s;
}

.calendar-grid .cal-day:hover {
    background: #e8faf3;
}

.calendar-grid .cal-day.today {
    background: #ff6c6d;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
}

.calendar-grid .cal-day.empty {
    background: transparent;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 50px 0;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0fdf7;
}

.faq-question .faq-icon {
    font-size: 14px;
    color: #18eaa9;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* --- Page Content (About, Privacy, Terms) --- */
.page-header {
    background: linear-gradient(135deg, #18eaa9 0%, #0bb87e 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
}

.page-header .breadcrumb {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.page-header .breadcrumb a {
    color: #fff;
    text-decoration: underline;
}

.page-content {
    padding: 40px 0;
}

.page-content .content-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    margin: 0 auto;
}

.page-content .content-box h2 {
    font-size: 22px;
    color: #333;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #18eaa9;
}

.page-content .content-box h3 {
    font-size: 18px;
    color: #18eaa9;
    margin: 16px 0 8px;
}

.page-content .content-box p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.8;
}

.page-content .content-box ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.page-content .content-box ul li {
    list-style: disc;
    margin-bottom: 6px;
    color: #555;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-box {
    background: linear-gradient(135deg, #18eaa9 0%, #0bb87e 100%);
    border-radius: 12px;
    padding: 40px;
    color: #fff;
}

.contact-info-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-info-box .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-info-box .contact-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.contact-form-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-form-box h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #18eaa9;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 12px 32px;
    background: #18eaa9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background: #0fd494;
    transform: translateY(-1px);
}

.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-img {
    height: 45px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
}

.footer-heading {
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #18eaa9;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links li a:hover {
    color: #18eaa9;
}

.footer-links li i {
    margin-right: 8px;
    color: #18eaa9;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #18eaa9;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #888;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .date-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        padding: 16px;
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section .hero-subtitle {
        font-size: 16px;
    }

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

    .clock-display {
        font-size: 36px;
    }

    .calendar-tabs {
        flex-wrap: wrap;
    }

    .page-content .content-box {
        padding: 24px;
    }

    .section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 16px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .date-card {
        padding: 20px 16px;
    }

    .date-card .date-value {
        font-size: 18px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 24px;
    }
}
