﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a7c59;
    --primary-dark: #3a6347;
    --primary-light: #6b9e7a;
    --cream: #f5f0e8;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --danger: #c93d3d;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    padding: 1rem 20px;
    gap: 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: flex-start;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    color: var(--primary);
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
}

.flash-messages {
    background: var(--cream);
    padding: 0.5rem 0;
}

.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 1.25rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #a53232;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background: var(--cream);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-image .profile-photo {
    aspect-ratio: 3/4;
    width: 100%;
}

.about-preview-image .profile-photo {
    aspect-ratio: 1;
    width: 100%;
}

.about-preview-image .placeholder-image {
    background: var(--cream);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.about-preview-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-preview-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem 0 !important;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.page-header {
    background: var(--cream);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.about-image .placeholder-image {
    background: var(--cream);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.qualifications-list {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.qualification-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qualification-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.qualification-item p {
    color: var(--text-light);
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card-full {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card-full h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-full p {
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.forum-content,
.content-area {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.content-area h2 {
    margin-bottom: 1rem;
}

.content-area p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.forums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.forum-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.forum-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.forum-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-content {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-card h2 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h2 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-date {
    display: inline-block;
}

.blog-content-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.blog-content-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content {
    color: var(--text-light);
    line-height: 1.8;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-header-nav {
    margin-bottom: 1rem;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.pdr-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    margin: 2rem 0 1.5rem 0;
}

.form-header:first-child {
    margin-top: 0;
}

.form-divider {
    height: 2px;
    background: var(--border);
    margin: 2rem 0;
}

.question-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 4px;
}

.question-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.05rem;
}

.required {
    color: var(--danger);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.info-box {
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.info-box p {
    margin: 0.5rem 0;
}

.response-detail {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.response-header {
    border-bottom: 2px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.response-header h2 {
    margin-bottom: 1rem;
}

.response-meta p {
    margin: 0.5rem 0;
}

.response-answers {
    margin-bottom: 2rem;
}

.response-answers h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.answer-item {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.question-text {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.answer-text {
    color: var(--text-light);
    line-height: 1.6;
    white-space: pre-wrap;
}

.response-actions {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links span {
    color: rgba(255,255,255,0.4);
}

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Testimonial Slider */
.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 0 3rem 0;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-prev { left: 0px; }
.slider-next { right: 0px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.slider-dot.active {
    background: var(--primary);
}

@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 640px) {
    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .slider-prev { left: 0; }
    .slider-next { right: 0; }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
    height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f4b942;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-weight: 400;
    color: var(--text-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    font-family: 'Lato', sans-serif;
}

.faq-question:hover {
    background: var(--cream);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--cream);
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    padding: 2rem;
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Sertifikalar */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.certificate-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
}

.certificate-card:hover {
    transform: translateY(-3px);
}

.certificate-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.certificate-info {
    padding: 1.25rem;
}

.certificate-info h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.cert-institution {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cert-year {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Blog arama */
.blog-search {
    display: flex;
    gap: 0.75rem;
    margin: 0 auto 2rem auto;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.blog-search input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-result-info {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Admin not bÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¶lÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼mÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼ */
.admin-note-section {
    background: #fffbea;
    border: 1px solid #f0d060;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-note-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #856404;
}

/* KVKK banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-content a {
    color: #a8d5b8;
}

/* Upload grup */
.upload-group form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-login {
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 2rem 1rem;
}

.admin-sidebar h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary);
}

.badge {
    background: var(--danger);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: #28a745;
}

.badge-warning {
    background: #ffc107;
    color: var(--text);
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--cream);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.recent-messages {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recent-messages h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--cream);
    font-weight: 600;
}

.admin-table tr:hover {
    background: var(--cream);
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

.message-detail {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.message-meta p {
    margin-bottom: 0.5rem;
}

.message-body {
    margin-bottom: 2rem;
}

.info-row {
    margin-bottom: 1rem;
}

.info-row strong {
    display: inline-block;
    width: 100px;
    color: var(--text-light);
}

.message-text {
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: 4px;
    white-space: pre-wrap;
}

.settings-form,
.password-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.settings-form h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem 0;
}

.settings-form h2:first-child {
    margin-top: 0;
}

.help-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.password-form-wrapper {
    max-width: 500px;
}

@media (max-width: 768px) {
    .navbar .container {
        grid-template-columns: 1fr auto auto;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
        gap: 0;
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.5rem 0;
    }

    .social-icons {
        gap: 0.75rem;
    }

    .social-icons a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }


    .logo img {
        max-height: 45px;
    }
    .forums-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-preview-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .services-grid-full,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.certificate-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
    overflow: hidden;
    padding: 1.25rem;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
    overflow: hidden;
    padding: 1.25rem;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 1.25rem;
}
.certificate-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-dark);
}
.cert-institution {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.cert-year {
    color: var(--text-light);
    font-size: 0.85rem;
}
