/* Common Base Styles */
@font-face {
    font-family: "SolaimanLipi";
    src: url("//cdn.jsdelivr.net/gh/iameffat/font@master/solaimanlipi2.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #47a277;
    --primary-color-dark: #3a8a65;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SolaimanLipi", sans-serif;
    margin: 0;
    padding: 0;
    color: #212529;
    line-height: 1.8;
}

/* Page-specific Body Backgrounds */
body.page-index {
    background-color: #ffffff;
}

body.page-install {
    background-color: #f4f7f9;
}

body.page-faq {
    background-color: #f8f9fa;
}

/* Common Header Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
}

.header .logo a {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
}

.header .nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
}

/* Styles for index.php */
.main-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.app-icon img {
    width: 300px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-description {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.8;
}

.app-description a,
.how-to-install p a,
.google-play-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.download-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-bottom: 15px;
    cursor: pointer;
}

.download-button:hover {
    background-color: var(--primary-color-dark);
}

.section-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.video-placeholder {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 30px auto;
    max-width: 280px;
    border: 1px solid #e0e0e0;
}

.video-placeholder video {
    width: 100%;
    height: auto;
    display: block;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    text-align: left;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.info-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.info-table td:first-child {
    font-weight: bold;
    color: var(--primary-color);
}

p.update-info2 {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin: 15px 0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cce5ff;
    background-color: #f8f9fa;
    text-align: left;
}

/* Styles for install-process.php */
.page-install .container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 25px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-install h1,
.page-install h2 {
    color: #2c3e50;
    border-bottom: 2px solid #47a277;
    padding-bottom: 10px;
    margin-top: 20px;
    font-size: 1.6em;
}

.page-install h3 {
    color: #34495e;
    margin-top: 30px;
}

.instruction-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 5px solid #47a277;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.instruction-card p {
    margin: 0;
    font-size: 16px;
}

.instruction-path {
    font-weight: bold;
    color: #d35400;
}

.page-install ul {
    list-style-type: "✓ ";
    padding-left: 20px;
}

.page-install li {
    margin-bottom: 10px;
}

/* Styles for faq.php */
.page-faq .container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.faq-header h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.6em;
    border: none;
}

.faq-header p {
    font-size: 1.1em;
    color: #6c757d;
}

.faq-section h2 {
    color: #333;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: bold;
    font-size: 1.2em;
    color: #212529;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "▼";
    position: absolute;
    right: 0;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.faq-answer {
    margin-top: 15px;
    padding-left: 20px;
    color: #555;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

/* Styles for Graphical Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
    margin-top: 20px;
}

.feature-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 15px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Styles for inline icons */
.btn-icon {
    margin-right: 8px;
}

.title-icon {
    margin-right: 10px;
}

.info-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--primary-color);
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    border-top: 1px solid #dee2e6;
    background-color: #ffffff;
    font-size: 14px;
    color: #6c757d;
}

.site-footer p {
    margin: 0;
}
.email-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.email-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #007bff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.email-link:hover {
    color: #0056b3;
}

.email-link:hover::after {
    transform: scaleX(1);
}

/* Alert Dialog Styles */
.alert-dialog {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.alert-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
}

.alert-icon {
    font-size: 50px;
    color: #4caf50;
    margin-bottom: 15px;
}

.alert-content h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 22px;
}

.alert-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.alert-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-download {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: #3e8e41;
}

.btn-cancel {
    background-color: #f1f1f1;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    flex: 1;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background-color: #ddd;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-container {
    max-width: 900px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 320px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    padding-top: 60px;
}

.slide-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 80%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

.slider-caption {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .slider-container {
        max-width: 100%;
        border-radius: 10px;
    }

    .slider {
        height: 400px;
    }

    .slide-content {
        padding: 20px;
        padding-top: 40px;
    }

    .slide-content h3 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 14px;
        max-width: 100%;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 300px;
    }

    .slide-content h3 {
        font-size: 18px;
    }

    .slide-content p {
        font-size: 12px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}
.no-underline {
    text-decoration: none; /* underline মুছে দেয় */
    color: inherit; /* link-এর রঙ প্যারেন্টের সাথে মেলায় */
}

.slider-title {
    text-align: center;
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}