/* Page-specific styles */
.page-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9));
    color: white;
    border-radius: 0 0 10px 10px;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Profile page styles */
.profile-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            margin-bottom: 3rem;
}
        
.profile-sidebar {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
        
.profile-pic {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1.5rem;
            border: 3px solid var(--primary);
}
        
.profile-main {
            padding: 2rem;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
        
.btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            text-decoration: none;
}
        
.btn-primary {
            background-color: var(--primary);
            color: white;
}
        
.btn-primary:hover {
            background-color: #3a5a9f;
}
        
.mt-2 {
            margin-top: 1rem;
}
        
.hidden {
            display: none;
}

 /* Products page styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
 margin-bottom: 3rem;
}
        
 .product-card {
 border: 1px solid #eee;
 border-radius: 10px;
 overflow: hidden;
 transition: transform 0.3s, box-shadow 0.3s;
 background-color: white;
}
        
.product-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
        
.product-image {
 width: 50%;
 height: 100px;
 object-fit: cover;
}
        
.product-info {
    padding: 1.5rem;
}
        
 .product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}
        
.product-info p {
    color: var(--secondary);
    margin-bottom: 1rem;
}
        
.product-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}
        
footer {
    background-color: var(--dark);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 2rem 0;
 margin-top: 3rem;
}
        
@media (max-width: 768px) {
.profile-container {
    grid-template-columns: 1fr;
}
            
.nav-links {
    flex-direction: column;
    gap: 0.5rem;
}
}
    

/* Quiz page styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 10px;
}

.options {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.option {
    padding: 1rem;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.option:hover {
    background-color: #f0f0f0;
}

.option.selected {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.certificate {
    text-align: center;
    padding: 3rem;
    background-color: white;
    border: 10px solid gold;
    border-radius: 15px;
    max-width: 800px;
    margin: 2rem auto;
}

/* Mobile app page styles */
.app-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.app-screenshot {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.app-features {
    flex: 1;
    min-width: 300px;
}

.app-features ul {
    list-style-type: none;
}

.app-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.app-features li:before {
    content: "✓";
    color: var(--success);
    margin-right: 10px;
    font-weight: bold;
}