/* Hero Section with Integrated Menu */
.hero-with-menu {
    background: url('/images/tantan.jpg') no-repeat center center/cover;
    color: #fff;
    position: relative;
}

.hero-with-menu .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    height: 150px;
    position: relative;
    z-index: 2;
}

/* Black Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Logo */
.page-logo {
    display: block;
    height: 50px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    z-index: 3;
}

.page-logo:hover {
    transform: scale(1.1);
    z-index: 3;
}

/* Navigation Menu */
.nav-menu {
    text-align: center;
    z-index: 3;
}

.menu-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.menu-links li a {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-links li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #4A90E2;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.menu-links li a:hover::after {
    width: 100%;
}

.menu-links li a:hover {
    color: #4A90E2;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-with-menu .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .menu-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-links li a {
        font-size: 0.9rem;
    }
}

/* About Us Section */
.about-content {
    padding: 4rem 0;
    background-color: #fff;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Feature Items */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: #F5F7FA;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
}

/* Thank You Section */
.about-thankyou {
    text-align: center;
    margin-top: 4rem;
}

.about-thankyou h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-thankyou p {
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .about-thankyou h2 {
        font-size: 1.5rem;
    }

    .about-thankyou p {
        font-size: 1rem;
    }
}

/* Tutorial Section */
.tutorials {
    padding: 4rem 0;
    background-color: #F5F7FA;
}

.tutorial-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tutorial-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.tutorial-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

.tutorial-item ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.tutorial-item li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.tutorial-item code {
    background-color: #f1f1f1;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tutorial-item {
        padding: 1.5rem;
    }

    .tutorial-item h3 {
        font-size: 1.2rem;
    }

    .tutorial-item p,
    .tutorial-item li {
        font-size: 0.9rem;
    }
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-item {
    background-color: #F5F7FA;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.article-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.article-item h3 a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.article-item h3 a:hover {
    color: #4A90E2;
}

.article-item p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    background-color: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.pagination-btn.active,
.pagination-btn:hover {
    background-color: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
    transform: translateY(-3px);
}

.pagination-btn.prev,
.pagination-btn.next {
    padding: 0.5rem 1.5rem;
}

/* Hero Content */
.hero-content {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content .overlay {
    display: none; /* Removed overlay for better title visibility */
}

.hero-content .content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Added text shadow for better readability */
    font-weight: 700;
}

.page-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Main Content Section */
.content-section {
    padding: 4rem 0;
    background-color: #F5F7FA;
}

.page-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.page-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Privacy Policy Page Example */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-policy h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.privacy-policy p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-with-menu .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-menu {
        text-align: center;
        margin-top: 1rem;
    }

    .menu-links {
        flex-direction: row;
        gap: 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }
}

