/* Additional Custom Styles */

/* Graduation Page Specific Styles */
.graduation-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.graduation-article section {
    margin-bottom: 3rem;
}

.graduation-article h1 {
    color: #5e3449;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.graduation-article h2 {
    color: #5e3449;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.graduation-article p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* WhatsApp Button Enhancement */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #5e3449;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(94, 52, 73, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .graduation-article {
        padding: 1.5rem;
    }

    .graduation-article h1 {
        font-size: 2rem;
    }

    .graduation-article h2 {
        font-size: 1.5rem;
    }

    .graduation-article p {
        font-size: 1rem;
    }
}

/* Content Layout Improvements */
.content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Enhanced Navigation */
.header-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image Optimizations */
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Typography Enhancements */
.highlight-text {
    color: #5e3449;
    font-weight: 700;
    background: linear-gradient(120deg, rgba(94, 52, 73, 0.1) 0%, rgba(94, 52, 73, 0.1) 100%);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Additional Custom Styles */

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Article Enhancements */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.article-section {
    margin-bottom: 4rem;
}

.article-section:last-child {
    margin-bottom: 0;
}

/* Feature Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(94, 52, 73, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(94, 52, 73, 0.15);
}

/* Call to Action Buttons */
.cta-button {
    display: inline-block;
    background: #5e3449;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    margin: 1rem 0;
}

.cta-button:hover {
    background: #4a2a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(94, 52, 73, 0.2);
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #5e3449;
    margin-bottom: 1rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #5e3449;
    font-weight: bold;
}

/* Testimonial Section */
.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
}

.testimonial::before {
    content: """;
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: #5e3449;
    opacity: 0.2;
}

/* Contact Form Styling */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #5e3449;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #5e3449;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .article-container {
        padding: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .whatsapp-button,
    .header-nav {
        display: none;
    }

    body {
        color: black;
    }

    .article-container {
        max-width: 100%;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: black;
    }
}

/* Accessibility Improvements */
:focus {
    outline: 3px solid #5e3449;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Performance Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* RTL Specific Adjustments */
[dir="rtl"] .benefits-list li {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="rtl"] .testimonial::before {
    right: 20px;
    left: auto;
}

/* Theme Color Variables */
:root {
    --primary-color: #5e3449;
    --primary-dark: #4a2a3a;
    --background-light: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e5e7eb;
    --shadow-color: rgba(94, 52, 73, 0.1);
}

/* Enhanced Typography */
.title-large {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.title-medium {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.text-body {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-primary);
}


/*========================================*/
/*            HEADER STYLES               */
/*========================================*/
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(94, 52, 73, 0.1);
    padding: 1rem 0;
}

.header-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.header-nav a:hover {
    background: rgba(94, 52, 73, 0.1);
    transform: translateY(-2px);
}

/* Featured Image Styles */
.featured-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    overflow: hidden;
}
.featured-image-container-other-topics {
    width: 80%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(94, 52, 73, 0.3);
    transition: transform 0.3s ease;
    display: block;
}

.featured-image:hover {
    transform: scale(1.01);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-image-container {
        margin: 1rem auto;
    }
    
    .featured-image {
        border-radius: 8px;
    }
}
