/* Studietips Page Styles */

/* Image Comparison Sections */
p a {
    color: #3a5188;
    text-decoration: none;
    text-decoration: underline;
}
.comparison-section {
    margin: 3rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px var(--card-shadow);
}

.comparison-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.comparison-item h3 {
    color: var(--dark-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.comparison-highlight {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.comparison-highlight h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.comparison-highlight p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-item {
        padding: 1rem;
    }
    
    .comparison-highlight {
        padding: 1.2rem;
    }
}


/* Info Boxes */
.info-box {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px var(--card-shadow);
}

.info-box:last-child {
    margin-bottom: 0;
}

.info-box h3 {
    color: var(--dark-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-box h4 {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.info-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tip-highlight {
    background-color: var(--light-blue);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-style: italic;
    color: var(--accent-blue);
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.activity-list li {
    background: var(--light-blue);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .info-box {
        padding: 1.5rem;
    }

    .activity-list {
        grid-template-columns: 1fr;
    }
}


/* Top 3 Study Tips */
.top-tips {
    margin: -2rem auto 2rem;
    position: relative;
    z-index: 2;
}

.top-tips-header {
    text-align: center;
    margin-bottom: 2rem;
}

.top-tips-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.top-tips-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.top-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-tip-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.top-tip-card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.top-tip-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.top-tip-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .top-tips-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .top-tips {
        margin: 1rem auto 2rem;
    }
}

/* Motivation Section */
.motivation-section {
    background-color: var(--light-blue);
    padding: 4rem 0;
    text-align: center;
}

.motivation-content {
    max-width: 800px;
    margin: 0 auto;
}

.motivation-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: left;
}

.motivation-content p {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.motivation-quote {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-blue);
    margin: 2rem 0;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .motivation-section {
        padding: 3rem 0;
    }
    
    .motivation-content h2 {
        font-size: 2rem;
    }
    
    .motivation-content p {
        font-size: 1.1rem;
    }
    
    .motivation-quote {
        font-size: 1.2rem;
    }
}

/* Footer contact links */
.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.hero-small {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Not_AI2.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 80px; /* Increased space for fixed header */
    text-align: center;
    position: relative;
    z-index: 1; /* Ensure it's below the header */
}

.hero-small .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-small h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-small p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.studietips-container {
    padding: 3rem 0;
}

.studietips-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.studietips-intro h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.studietips-intro p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.studietips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.studietips-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.studietips-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.studietips-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.studietips-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.studietips-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.studietips-social {
    margin: 3rem auto;
    max-width: 800px;
    padding: 2rem;
    background-color: var(--light-grey);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
}

.studietips-social h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.studietips-social p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-blue);
}

.btn-social {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.8rem 2.5rem;
    margin: 0 0.8rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
    letter-spacing: 0.5px;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.studietips-cta {
    margin-top: 3rem;
}

.studietips-cta p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

/* Additional CTA spacing */
.studietips-container .studietips-cta + .studietips-cta {
    margin-top: 2rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .studietips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-small {
        height: 250px;
    }
    
    .hero-small h1 {
        font-size: 2.5rem;
    }
    
    .hero-small p {
        font-size: 1.1rem;
    }
    
    .studietips-intro h2 {
        font-size: 2rem;
    }
    
    .studietips-intro p {
        font-size: 1rem;
    }
}

/* Make social buttons stack at a wider breakpoint */
@media (max-width: 670px) {
    .social-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }
    
    .btn-social {
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .studietips-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-small {
        height: 200px;
    }
    
    .hero-small h1 {
        font-size: 2rem;
    }
    
    .studietips-card {
        padding: 1.5rem;
    }
    
    /* Social links styling moved to the 670px breakpoint */
}
