/* ===================================
   Pages CSS - Additional Styles for Sub-pages
   =================================== */

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    text-align: center;
    color: var(--text-white);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   CEO Page Styles
   =================================== */
.ceo-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.ceo-profile {
    position: sticky;
    top: 100px;
}

.ceo-image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.ceo-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.ceo-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.ceo-badge i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.ceo-info {
    text-align: center;
}

.ceo-info h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.ceo-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.ceo-credentials {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.ceo-credentials p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.ceo-credentials p:last-child {
    margin-bottom: 0;
}

.ceo-credentials i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.ceo-message {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    position: relative;
}

.message-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.ceo-message h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.ceo-message h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.message-intro {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.ceo-message p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.ceo-principles {
    list-style: none;
    margin: 25px 0;
}

.ceo-principles li {
    padding: 20px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 15px;
    border-radius: 10px;
    line-height: 1.7;
}

.ceo-principles strong {
    color: var(--dark-blue);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.message-closing {
    font-size: 1.05rem;
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.message-signature {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    font-style: italic;
}

.signature-block {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.signature {
    max-width: 200px;
    margin-bottom: 15px;
}

.signature-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.signature-title {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Leadership Values */
.leadership-values {
    padding: 100px 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.value-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    text-align: center;
    color: var(--text-white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary.btn-large {
    background: transparent;
    border: 2px solid var(--text-white);
}

.btn-secondary.btn-large:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* ===================================
   Services Page Styles
   =================================== */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
}

.service-detail:nth-child(odd) {
    background: var(--bg-white);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-text {
    direction: ltr;
}

.service-detail-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-text h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.service-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.service-detail:nth-child(even) .service-feature-item {
    background: var(--bg-white);
}

.service-feature-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* ===================================
   Projects Page Styles
   =================================== */
.projects-filter {
    padding: 60px 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.projects-showcase {
    padding: 80px 0;
    background: var(--bg-white);
}

.project-full {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.project-full:last-child {
    border-bottom: none;
}

.project-header {
    margin-bottom: 40px;
}

.project-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--text-light);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta-item i {
    color: var(--primary-color);
}

.project-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.project-image-main {
    grid-row: span 2;
}

.project-image-main img,
.project-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.project-image-main img {
    height: 500px;
}

.project-image-secondary img {
    height: 240px;
}

.project-description h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.project-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.highlight-box h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .ceo-content,
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .ceo-profile {
        position: static;
    }
    
    .service-detail:nth-child(even) .service-detail-content {
        direction: ltr;
    }
    
    .project-images {
        grid-template-columns: 1fr;
    }
    
    .project-image-main {
        grid-row: span 1;
    }
}

/* Capabilities Page Additional Styles */
.capability-features {
    list-style: none;
    margin-top: 20px;
}

.capability-features li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.capability-features i {
    color: var(--success-color);
    font-size: 1rem;
}

.technical-expertise {
    padding: 100px 0;
    background: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.expertise-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.expertise-card h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.certifications {
    padding: 100px 0;
    background: var(--bg-white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--bg-light);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.cert-card h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Technology Page Styles
   =================================== */
.technology-intro-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
}

.technology-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.tech-section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-md);
}

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

.tech-section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.tech-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.tech-image-hero {
    margin: 60px 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.tech-image-hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.image-caption {
    background: linear-gradient(to right, rgba(0, 51, 102, 0.95), rgba(0, 82, 204, 0.9));
    padding: 20px 40px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tech-feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.technology-section.alt-bg .tech-feature-card {
    background: var(--bg-light);
    border: 2px solid #e0e0e0;
}

.tech-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c5a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

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

.tech-feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.tech-image-showcase-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.showcase-image-item {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.showcase-image-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.showcase-image-item:hover img {
    transform: scale(1.1);
}

.showcase-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.95), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-image-item:hover .showcase-image-overlay {
    transform: translateY(0);
}

.showcase-image-overlay h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.showcase-image-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tech-image-full {
    position: relative;
    height: 550px;
    border-radius: 25px;
    overflow: hidden;
    margin-top: 60px;
    box-shadow: var(--shadow-lg);
}

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

.tech-image-full-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.95), rgba(0, 51, 102, 0.7), transparent);
    padding: 50px;
}

.tech-image-full-overlay h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tech-image-full-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.technology-benefits-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .ceo-message {
        padding: 30px 20px;
    }
    
    .ceo-message h3 {
        font-size: 1.6rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-image-hero img {
        height: 400px;
    }
    
    .tech-features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-image-showcase-row {
        grid-template-columns: 1fr;
    }
    
    .showcase-image-item {
        height: 350px;
    }
    
    .tech-image-full {
        height: 450px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-section-header h2 {
        font-size: 2rem;
    }
    
    .tech-image-full-overlay {
        padding: 35px;
    }
    
    .tech-image-full-overlay h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .tech-image-hero img {
        height: 300px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
    
    .tech-icon i {
        font-size: 2rem;
    }
    
    .tech-section-header h2 {
        font-size: 1.75rem;
    }
    
    .tech-feature-card {
        padding: 25px;
    }
    
    .showcase-image-item {
        height: 280px;
    }
    
    .tech-image-full {
        height: 350px;
    }
    
    .tech-image-full-overlay {
        padding: 25px;
    }
    
    .tech-image-full-overlay h3 {
        font-size: 1.4rem;
    }
    
    .tech-image-full-overlay p {
        font-size: 0.95rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .image-caption {
        padding: 15px 25px;
        font-size: 1rem;
    }
}