/* Page-specific styles for page.php */

/* Page Content */
.page-content {
    min-height: 70vh;
    padding: 1rem 0 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-navigation-top {
    margin-bottom: 3rem;
    text-align: left;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-title {
    font-size: 2.5rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-featured-image {
    margin-bottom: 3rem;
    text-align: center;
}

.page-featured-image .featured-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.page-content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    max-width: 800px;
    margin: 0 auto;
}

.page-content-text h2 {
    color: #0c4a6e;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 0.5rem;
}

.page-content-text h3 {
    color: #0c4a6e;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.page-content-text h4 {
    color: #374151;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.page-content-text p {
    margin-bottom: 1.5rem;
}

.page-content-text ul, 
.page-content-text ol {
    margin: 1.5rem 0 2rem 2rem;
}

.page-content-text li {
    margin-bottom: 0.75rem;
}

.page-content-text blockquote {
    border-left: 4px solid #0ea5e9;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    position: relative;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.page-content-text blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #0ea5e9;
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: serif;
}

.page-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-content-text a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-content-text a:hover {
    color: #0c4a6e;
    border-bottom-color: #0c4a6e;
}

/* Page-specific expertise styles */
.page-content .expertises-section-new {
    min-height: calc(100vh - 80px);
    padding: 3rem 0 5rem;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 2rem;
}

.page-content .expertises-section-new::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 2px;
}

.page-content .expertises-container-new {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-content .expertise-item-new {
    max-width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.page-content .expertise-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.page-content .expertise-content-new {
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    order: 2;
}

.page-content .expertise-text-new {
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: left;
    max-width: none;
    color: #374151;
}

.page-content .expertise-text-new p {
    margin-bottom: 1.5rem;
}

.page-content .expertise-text-new ul,
.page-content .expertise-text-new ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content .expertise-text-new li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-content .expertise-text-new h2,
.page-content .expertise-text-new h3 {
    color: #0c4a6e;
    margin: 2rem 0 1rem;
}

/* Expertise title styling */
.page-content .expertise-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c4a6e;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-content .expertise-title-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 2px;
}

/* Expertise image styling */
.page-content .expertise-image-new {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    order: 1;
}

.page-content .expertise-image-new .expertise-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-content .expertise-item-new:hover .expertise-img {
    transform: scale(1.05);
}

/* Back to home button */
.page-navigation-top .btn-secondary {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    min-width: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.page-navigation-top .btn-secondary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}
