/* =========================================
   MSPE Website - Inner Pages Stylesheet
   ======================================== */

/* ========================
   CSS Variables (extend main vars)
   ======================== */
:root {
    --accent-cyan: var(--accent);
    --secondary-teal: var(--secondary);
    --spacing-section: 5rem;
}

/* ========================
   Page Hero Section
   ======================== */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f2744 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero .hero-shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.1;
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.page-hero .hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-teal) 0%, transparent 70%);
    opacity: 0.1;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb .separator {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--text-white);
    font-weight: 500;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================
   About Page Styles
   ======================== */

/* About Intro Layout */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.about-intro-content .section-label {
    margin-bottom: 0.5rem;
}

.about-intro-content .section-title {
    margin-bottom: 1.25rem;
}

.about-intro-content > p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}

.about-highlights .highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.about-highlights .highlight-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.95);
}

.about-highlights .highlight-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.about-intro-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    min-height: 180px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-1 {
    grid-column: 1 / -1;
}

.about-image-2 {
    grid-column: 1;
}

.about-image-3 {
    grid-column: 2;
}

@media (max-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-image-grid {
        grid-template-columns: 1fr;
    }
    .about-image-1 {
        grid-column: 1;
    }
}

/* Company Story */
.story-section {
    padding: var(--spacing-section) 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.story-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: var(--text-white);
    font-size: 1.25rem;
}

.highlight-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.highlight-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.story-image-overlay {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.story-image-overlay h3 {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.25rem;
}

.story-image-overlay p {
    color: var(--text-muted);
    margin: 0;
}

/* Core Values */
.values-section {
    padding: var(--spacing-section) 0;
    background: transparent;
}

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

.value-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(13, 148, 136, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h3 {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: var(--spacing-section) 0;
}

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

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--accent-cyan);
    color: var(--text-white);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
}

.team-info small {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Certifications */
.certifications-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-dark);
}

.certifications-section .section-title,
.certifications-section .section-subtitle {
    color: var(--text-white);
}

.certifications-section .section-subtitle {
    color: var(--text-muted);
}

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

.certification-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.certification-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.certification-card img {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.certification-card h4 {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================
   Services Page Styles
   ======================== */
.services-detail-section {
    padding: var(--spacing-section) 0;
}

/* Service Detail Sections (services.html) */
.service-detail.section {
    padding: 5rem 0;
}

.service-detail.section.alt-bg {
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-content {
    padding-right: 2rem;
}

.service-detail-grid.reverse .service-detail-content {
    padding-right: 0;
    padding-left: 2rem;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-detail-content .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.service-detail-content .section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-lead {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-feature i {
    color: var(--accent-cyan);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.service-feature p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Visual Placeholder */
.service-detail-visual {
    position: relative;
}

.service-visual-card {
    background: linear-gradient(135deg, var(--bg-dark), #0f2744);
    border-radius: 20px;
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.service-visual-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0.15;
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.service-visual-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-teal) 0%, transparent 70%);
    opacity: 0.15;
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.visual-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.3);
}

.visual-placeholder i {
    font-size: 4rem;
    color: var(--text-white);
}

/* Old service-detail styles (for compatibility) */
.service-detail:not(.section) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.service-detail:not(.section):last-child {
    border-bottom: none;
}

.service-detail:not(.section).reverse {
    direction: rtl;
}

.service-detail:not(.section).reverse > * {
    direction: ltr;
}

.service-content {
    padding-right: 2rem;
}

.service-detail:not(.section).reverse .service-content {
    padding-right: 0;
    padding-left: 2rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-large i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content > p {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--accent-cyan);
    font-size: 1rem;
}

.feature-item span {
    color: var(--text-body);
    font-size: 0.95rem;
}

.service-visual {
    position: relative;
}

.service-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-section) 0;
    background: var(--bg-dark);
}

.pricing .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing .section-label {
    color: var(--accent-cyan);
}

.pricing .section-title {
    color: var(--text-white);
}

.pricing .section-description {
    color: var(--text-muted);
}

.pricing-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(13, 148, 136, 0.15));
    border-color: var(--accent-cyan);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-price {
    margin: 1.75rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-price .amount {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1.2;
    white-space: nowrap;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
    align-self: flex-start;
    margin-top: 0.2rem;
}

.pricing-price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 0.1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent-cyan);
}

.pricing-features li i.fa-times {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.pricing-card .btn-outline:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--text-white);
}

/* ========================
   Portfolio Page Styles
   ======================== */
.portfolio-filter-section {
    padding: 3rem 0;
    background: transparent;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.portfolio-grid-section {
    padding: var(--spacing-section) 0;
}

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

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-overlay h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.portfolio-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.portfolio-overlay a:hover {
    color: var(--accent-cyan);
}

/* Case Studies - two-column image+content layout (scoped to .case-studies-section) */
.case-studies-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.case-studies-section .case-study-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.case-studies-section .case-study-card:last-child {
    margin-bottom: 0;
}

.case-study-image {
    position: relative;
    min-height: 400px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: 3rem 3rem 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(13, 148, 136, 0.1));
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.case-study-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.case-study-content > p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-body);
    font-size: 0.9rem;
}

/* ========================
   News Page Styles
   ======================== */
.news-filter-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.news-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-search {
    display: flex;
    background: var(--text-white);
    border-radius: 30px;
    padding: 0.25rem;
    box-shadow: var(--shadow-sm);
}

.filter-search input {
    border: none;
    padding: 0.75rem 1rem;
    width: 250px;
    font-size: 0.95rem;
    background: transparent;
}

.filter-search input:focus {
    outline: none;
}

.search-btn {
    background: var(--bg-dark);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-cyan);
}

/* Featured News */
.featured-news {
    padding: var(--spacing-section) 0;
    background: var(--text-white);
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.featured-article {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-main .article-image {
    height: 400px;
}

.featured-side .article-image {
    height: 200px;
}

.article-image {
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-cyan);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-main .article-content {
    padding: 2rem;
}

.featured-side .article-content {
    padding: 1.25rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.article-meta span {
    color: var(--text-body);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: var(--accent-cyan);
}

.article-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.featured-main .article-title {
    font-size: 1.75rem;
}

.featured-side .article-title {
    font-size: 1.1rem;
}

.article-excerpt {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.article-link:hover {
    gap: 1rem;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* News Grid */
.news-grid-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

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

.news-card {
    background: var(--text-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-cyan);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.overlay-link {
    width: 50px;
    height: 50px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.news-card:hover .overlay-link {
    transform: scale(1);
}

.news-card-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-meta span {
    color: var(--text-body);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-meta i {
    color: var(--accent-cyan);
    font-size: 0.75rem;
}

.news-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 1rem;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Upcoming Events */
.upcoming-events {
    padding: var(--spacing-section) 0;
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-type {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-description {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.event-info {
    display: flex;
    gap: 1.5rem;
}

.event-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-body);
    font-size: 0.85rem;
}

.event-info i {
    color: var(--accent-cyan);
}

.event-action {
    flex-shrink: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.newsletter-card {
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.8), rgba(10, 22, 40, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.newsletter-text h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: var(--text-muted);
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    color: var(--text-white);
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group input:focus {
    outline: none;
}

.newsletter-input-group .btn {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.newsletter-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    text-align: right;
}

/* ========================
   Contact Page Styles
   ======================== */
.contact-cards-section {
    padding: 4rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.contact-card h3 {
    margin-bottom: 0.5rem;
}
.contact-card p {
    margin-bottom: 0.5rem;
}
.contact-card p:last-child {
    margin-bottom: 0;
    margin-top: auto;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(13, 148, 136, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-card-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.contact-card a {
    color: var(--text-body);
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-cyan);
}

/* Contact Main */
.contact-main {
    padding: var(--spacing-section) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background: var(--text-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-body);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--text-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-body);
}

.checkbox-label input {
    width: auto;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--accent-cyan);
}

.btn-block {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    font-size: 1.1rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-message i {
    margin-right: 0.5rem;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder iframe {
    display: block;
}

.sidebar-info {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.sidebar-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list i {
    color: var(--accent-cyan);
}

.sidebar-cta {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-connect {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.social-connect h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--text-white);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-dark);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section .section-title {
    color: var(--text-white);
}

.faq-section .section-description {
    color: var(--text-muted);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin: 0;
    padding-right: 1rem;
    font-weight: 600;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-toggle i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.05);
}

/* ========================
   Responsive Styles
   ======================== */
@media (max-width: 1024px) {
    .story-grid,
    .service-detail:not(.section),
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail:not(.section).reverse,
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .service-content,
    .service-detail-content {
        padding-right: 0;
    }
    
    .service-detail:not(.section).reverse .service-content,
    .service-detail-grid.reverse .service-detail-content {
        padding-left: 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .portfolio-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-news-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-sidebar {
        flex-direction: row;
    }
    
    .featured-sidebar .featured-article {
        flex: 1;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-note {
        text-align: center;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .service-visual-card {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 150px 0 80px;
    }
    
    .story-highlights {
        grid-template-columns: 1fr;
    }
    
    .story-image-overlay {
        position: static;
        margin-top: 2rem;
    }
    
    .values-grid,
    .team-grid,
    .portfolio-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-features,
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-card {
        grid-template-columns: 1fr;
    }
    
    .case-study-content {
        padding: 2rem;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
    }
    
    .news-filter {
        flex-direction: column;
    }
    
    .filter-categories {
        justify-content: center;
    }
    
    .filter-search {
        width: 100%;
    }
    
    .filter-search input {
        flex: 1;
    }
    
    .featured-sidebar {
        flex-direction: column;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 0;
    }
    
    .newsletter-input-group input {
        border-radius: 12px 12px 0 0;
        text-align: center;
    }
    
    .newsletter-input-group .btn {
        border-radius: 0 0 12px 12px;
        width: 100%;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-visual-card {
        min-height: 250px;
    }
    
    .visual-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .visual-placeholder i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .event-date {
        width: 80px;
        height: 80px;
    }
    
    .event-day {
        font-size: 2rem;
    }
}

/* ==================== CTA Section (Contact Page) ==================== */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-section .cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--accent);
}

.cta-shape-1 {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -200px;
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -100px;
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section .cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section .cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
