:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-blue: #00b4d8;
    --accent-teal: #0077b6;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #999999;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --border-color: #404040;
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    line-height: 1.8;
    color: var(--text-white);
    background: var(--primary-dark);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > a,
.nav-item > a {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-menu > a:hover,
.nav-item > a:hover,
.nav-menu > a.active {
    color: var(--accent-blue);
    background: rgba(0, 180, 216, 0.1);
}

.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-dark);
    min-width: 220px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 100;
    padding: 10px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown a {
    display: block;
    padding: 12px 18px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown a:hover {
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    display: flex;
    gap: 5px;
    background: var(--secondary-dark);
    padding: 5px;
    border-radius: 8px;
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
    background: var(--accent-blue);
    color: white;
}

.search-btn {
    width: 45px;
    height: 45px;
    background: var(--secondary-dark);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-text {
    max-width: 700px;
}

.hero-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--accent-teal);
    border-radius: 2px;
}

.btn-primary:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-dots {
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent-blue);
    transform: scale(1.2);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

.hero-arrow:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Heritage Carousel */
.heritage-section {
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.heritage-carousel {
    position: relative;
}

.heritage-slides {
    display: flex;
    transition: transform 0.6s ease;
}

.heritage-slide {
    min-width: 100%;
    padding: 0 50px;
}

.heritage-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.heritage-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.heritage-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 30px;
}

.heritage-content .view-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.heritage-content .view-more:hover {
    gap: 15px;
}

.heritage-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.heritage-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 35px;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent-blue);
    width: 50px;
}

/* Leadership Section */
.leadership-section {
    background: var(--primary-dark);
}

.leadership-carousel {
    position: relative;
}

.leadership-slide {
    display: none;
}

.leadership-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.leadership-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--secondary-dark);
    border-radius: 20px;
    overflow: hidden;
}

.leader-image {
    height: 450px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-image i {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.3);
}

.leader-content {
    padding: 50px 50px 50px 0;
}

.leader-title {
    font-size: 14px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.leader-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.leader-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    position: relative;
    padding-right: 30px;
}

.leader-message::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 60px;
    color: var(--accent-blue);
    opacity: 0.3;
    font-family: serif;
}

/* Excellence Section */
.excellence-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d42 100%);
    position: relative;
}

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

.excellence-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.excellence-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.excellence-stats {
    display: grid;
    gap: 30px;
}

.stat-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-header h4 {
    font-size: 18px;
    font-weight: 600;
}

.stat-header span {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 20px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 4px;
    transition: width 1.5s ease;
    width: 0;
}

/* Statistics Section */
.stats-section {
    background: var(--secondary-dark);
}

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

.stat-card {
    background: var(--primary-dark);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
}

/* Core Values Grid */
.values-section {
    background: var(--primary-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--secondary-dark);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.value-card:nth-child(even) {
    direction: ltr;
}

.value-card:nth-child(even) .value-content {
    direction: rtl;
}

.value-image {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-image i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.value-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.value-content .learn-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.value-content .learn-more:hover {
    gap: 12px;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--secondary-dark);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

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

.portfolio-card {
    background: var(--primary-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.portfolio-image {
    height: 220px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.portfolio-content h3 a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-content h3 a:hover {
    color: var(--accent-blue);
}

.portfolio-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--primary-dark);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 50px;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    font-size: 1.4rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 40px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 100px;
    color: var(--accent-blue);
    opacity: 0.2;
    position: absolute;
    top: -50px;
    right: 50%;
    transform: translateX(50%);
    font-family: serif;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-muted);
}

.testimonial-label {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background: var(--secondary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.office-card {
    background: var(--primary-dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.office-image {
    height: 200px;
    overflow: hidden;
}

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

.office-content {
    padding: 35px;
}

.office-badge {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.office-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.office-info-item i {
    width: 40px;
    height: 40px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.office-info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.office-info-item a:hover {
    color: var(--accent-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #0d0d0d;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--secondary-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-right: 5px;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--secondary-dark);
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--accent-blue);
}

.download-btn i {
    font-size: 20px;
}

.iso-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--secondary-dark);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.iso-badge i {
    font-size: 40px;
    color: var(--accent-blue);
}

.iso-badge span {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .heritage-card,
    .leadership-card,
    .excellence-grid {
        grid-template-columns: 1fr;
    }

    .leader-image {
        height: 300px;
    }

    .leader-content {
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        grid-template-columns: 1fr;
    }

    .value-card:nth-child(even) {
        direction: rtl;
    }

    .value-image {
        height: 200px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }

    .header-actions {
        gap: 10px;
    }

    .lang-switch a {
        padding: 6px 12px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-arrow {
        width: 45px;
        height: 45px;
    }

    .section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--secondary-dark);
    z-index: 1001;
    transition: var(--transition);
    padding: 30px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-close {
    width: 45px;
    height: 45px;
    background: var(--primary-dark);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent-blue);
    padding-right: 10px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================================
   WordPress theme layer
   ---------------------------------------------------------------------
   Everything below adapts the original design to the semantic markup the
   templates output (lists, buttons, real <img> elements, inline SVG icons)
   and adds the states the static page never had: focus, reduced motion,
   empty content, and the templates that did not exist as HTML.
   ================================================================== */

/* --- Accessibility utilities ---------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	right: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 14px 24px;
	clip-path: none;
	background: var(--accent-blue);
	color: #04222b;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	box-shadow: var(--shadow);
}

/* A single visible focus style for every interactive element. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--accent-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/* The skip target is focused programmatically; it should not draw a ring. */
#main:focus,
.site-main:focus {
	outline: none;
}

/* Inline SVG icons replace the old icon font. */
.icon {
	flex-shrink: 0;
	vertical-align: middle;
}

.icon-flip {
	transform: rotate(180deg);
}

.image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
	color: #04222b;
}

/* --- Colour corrections --------------------------------------------- */

/*
 * White on the light accent measures about 2.2:1, well under the 4.5:1
 * minimum, so filled accent surfaces take dark text instead.
 */
.btn-primary,
.btn-primary:hover,
.filter-btn:hover,
.filter-btn.active,
.office-badge,
.portfolio-category,
.download-btn:hover,
.footer-social a:hover,
.whatsapp-fab {
	color: #04222b;
}

.btn-primary:hover {
	background: #33c6e3;
}

.btn-invert {
	background: #ffffff;
	color: #05323f;
}

.btn-invert:hover {
	background: #e8f8fc;
	transform: translateY(-3px);
}

.btn-outline {
	color: var(--text-white);
}

/* The muted grey is only legible on the darkest surface. */
.footer-bottom,
.card__eyebrow,
.stat-label {
	color: #a8a8a8;
}

/* --- Header and navigation ------------------------------------------ */

.nav-menu__list,
.mobile-nav__list,
.dropdown,
.footer-links,
.legal-links,
.mobile-social,
.footer-social,
.stats-grid,
.values-grid,
.portfolio-grid,
.contact-grid,
.office-info,
.stat-bars,
.download-btns,
.team-grid,
.sector-grid,
.timeline,
.pagination ul,
.card__facts,
.member-contact,
.service-features ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-menu__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-menu__list > li > a {
	color: var(--text-light);
	text-decoration: none;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	transition: var(--transition);
}

.nav-menu__list > li > a:hover,
.nav-menu__list > li > a.active,
.nav-menu__list > li > a[aria-current="page"] {
	color: var(--accent-blue);
	background: rgba(0, 180, 216, 0.12);
}

.site-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.site-title a {
	color: var(--text-white);
	text-decoration: none;
}

.logo-icon {
	text-decoration: none;
	color: #ffffff;
}

.custom-logo {
	max-height: 56px;
	width: auto;
	height: auto;
}

/*
 * The submenu opens on a real button, so it works by keyboard and on touch
 * where :hover never fires reliably.
 */
.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	padding: 10px 6px;
	background: none;
	border: 0;
	color: var(--text-light);
	cursor: pointer;
	transition: var(--transition);
}

.dropdown-toggle:hover {
	color: var(--accent-blue);
}

.dropdown-toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.nav-menu__list .dropdown {
	inset-inline-start: auto;
	inset-inline-end: 0;
	left: auto;
	right: 0;
}

.nav-menu__list > li.is-open > .dropdown,
.nav-menu__list > li:focus-within > .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(5px);
}

/* Hover alone no longer reveals the submenu: the toggle owns the state. */
.nav-item:hover .dropdown {
	opacity: 0;
	visibility: hidden;
}

.nav-menu__list > li.is-open > .dropdown {
	opacity: 1;
	visibility: visible;
}

.dropdown li {
	list-style: none;
}

.lang-switch .active {
	color: var(--accent-blue);
	font-weight: 700;
}

.site-search {
	border-top: 1px solid var(--border-color);
	background: var(--secondary-dark);
	padding: 18px 0;
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 620px;
	margin: 0 auto;
}

.search-field {
	flex: 1;
	padding: 14px 18px;
	background: var(--primary-dark);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-white);
	font-family: inherit;
	font-size: 15px;
}

.search-field::placeholder {
	color: #9a9a9a;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	background: var(--accent-blue);
	border: 0;
	border-radius: 8px;
	color: #04222b;
	cursor: pointer;
}

/* --- Mobile menu ----------------------------------------------------- */

.mobile-nav__list a {
	display: block;
	padding: 18px 0;
	color: var(--text-light);
	text-decoration: none;
	border-bottom: 1px solid var(--border-color);
	font-size: 17px;
	font-weight: 500;
}

.mobile-nav__list a:hover,
.mobile-nav__list a[aria-current="page"] {
	color: var(--accent-blue);
}

.mobile-nav__list .dropdown {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	border: 0;
	background: transparent;
	padding: 0 18px;
}

.mobile-nav__list .dropdown-toggle {
	display: none;
}

.mobile-social {
	display: flex;
	gap: 12px;
	margin-top: 30px;
}

.mobile-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--secondary-dark);
	color: var(--text-light);
}

body.menu-open {
	overflow: hidden;
}

/* --- Hero ------------------------------------------------------------ */

.hero-slides {
	position: absolute;
	inset: 0;
}

/*
 * The slide image is a real <img> so the browser can choose a size from
 * srcset and give the first one high priority.
 */
.hero-slide img.bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide .overlay {
	background: linear-gradient(135deg, #000 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-eyebrow {
	margin-bottom: 14px;
	color: var(--accent-blue);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 14px;
}

.hero-dot,
.carousel-dot {
	padding: 0;
	border: 0;
	cursor: pointer;
}

/* A larger invisible hit area, so the small dots are still easy to press. */
.hero-dot::before,
.carousel-dot::before {
	content: "";
	position: absolute;
	inset: -10px;
}

.hero-dot,
.carousel-dot {
	position: relative;
}

.hero-pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}

.hero-pause__icon {
	display: block;
	width: 12px;
	height: 12px;
	border-inline-start: 4px solid currentColor;
	border-inline-end: 4px solid currentColor;
}

.hero-pause.is-paused .hero-pause__icon {
	width: 0;
	height: 0;
	border: 7px solid transparent;
	border-inline-end-width: 0;
	border-inline-start: 12px solid currentColor;
}

/* --- Sections -------------------------------------------------------- */

.section--alt {
	background: var(--secondary-dark);
}

.container--narrow {
	max-width: 860px;
}

.section-header--start {
	text-align: start;
	margin-bottom: 40px;
}

.section-header--start .section-line {
	margin-inline: 0 auto;
}

.section-action {
	margin-top: 50px;
	text-align: center;
}

.heritage-viewport {
	overflow: hidden;
}

.heritage-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.heritage-text p:last-child,
.value-text p:last-child,
.timeline__text p:last-child {
	margin-bottom: 0;
}

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

.leadership-card {
	margin: 0;
}

.leader-message {
	border: 0;
	padding: 0;
	margin: 0;
}

.stat-bar {
	list-style: none;
}

.stat-header h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
}

.excellence-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.stat-icon .icon,
.value-image .icon,
.leader-image .icon {
	color: #04222b;
}

.stat-number {
	margin: 0 0 10px;
}

.stat-label {
	margin: 0;
}

/* The flip class replaces :nth-child(even), which broke when an editor
   removed a card in the middle of the list. */
.value-card:nth-child(even) {
	direction: inherit;
}

.value-card--flip .value-image {
	order: 2;
}

.value-card--flip .value-content {
	order: 1;
}

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

.portfolio-image img,
.office-image img,
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio-image a,
.card__media a {
	display: block;
	width: 100%;
	height: 100%;
}

.portfolio-content h3 a,
.card__title a {
	color: inherit;
	text-decoration: none;
}

.portfolio-content h3 a:hover,
.card__title a:hover {
	color: var(--accent-blue);
}

/* The filters are links first and buttons second, so they work with no JS. */
a.filter-btn {
	display: inline-block;
	text-decoration: none;
}

.portfolio-empty {
	margin-top: 30px;
	text-align: center;
	color: var(--text-muted);
}

.office-info-item .icon {
	width: 40px;
	height: 40px;
	padding: 11px;
	background: rgba(0, 180, 216, 0.12);
	border-radius: 10px;
	color: var(--accent-blue);
	flex-shrink: 0;
	box-sizing: content-box;
}

.office-badge {
	margin: 0 0 20px;
}

.office-map {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	color: var(--accent-blue);
	text-decoration: none;
	font-weight: 600;
}

.testimonial {
	margin: 0;
}

.testimonial-mark {
	color: var(--accent-blue);
	opacity: 0.35;
	margin-bottom: 20px;
}

.testimonial-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.testimonial-name {
	font-size: 19px;
	font-weight: 700;
	color: var(--text-white);
}

.testimonial-company {
	color: var(--text-muted);
	font-size: 15px;
}

.testimonial-logo img {
	max-height: 46px;
	width: auto;
	margin-bottom: 10px;
}

/* --- Page header and breadcrumbs ------------------------------------- */

.page-header {
	position: relative;
	padding: 180px 0 70px;
	background: var(--secondary-dark);
	background-size: cover;
	background-position: center;
}

.page-header--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.page-header .container {
	position: relative;
}

.page-header__title {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 900;
	margin: 0;
	line-height: 1.25;
}

.page-header__eyebrow {
	margin: 0 0 10px;
	color: var(--accent-blue);
	font-weight: 700;
}

.page-header__subtitle {
	margin: 18px 0 0;
	max-width: 760px;
	color: var(--text-light);
	font-size: 1.1rem;
}

.breadcrumbs {
	margin-bottom: 18px;
	font-size: 14px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 8px;
	color: var(--text-muted);
}

.breadcrumbs a {
	color: var(--text-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--accent-blue);
	text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
	color: var(--text-light);
}

/* --- Cards and grids -------------------------------------------------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--secondary-dark);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	overflow: hidden;
	transition: var(--transition);
}

.card:hover {
	transform: translateY(-6px);
	border-color: var(--accent-blue);
}

.card__media {
	height: 220px;
	overflow: hidden;
}

.card__media--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
	color: #04222b;
}

.card__body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.card__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.card__title {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.4;
}

.card__excerpt {
	margin: 0;
	color: var(--text-muted);
}

.card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: auto;
	padding-top: 12px;
	color: var(--text-muted);
	font-size: 14px;
}

.card__facts li {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* --- Single project, service and job ---------------------------------- */

.project-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 50px;
	align-items: start;
}

.project-facts,
.service-features {
	position: sticky;
	top: 120px;
	padding: 32px;
	background: var(--secondary-dark);
	border: 1px solid var(--border-color);
	border-radius: 16px;
}

.project-facts h2,
.service-features h2 {
	margin: 0 0 22px;
	font-size: 1.25rem;
}

.project-facts dl {
	margin: 0;
	display: grid;
	gap: 18px;
}

.project-fact dt {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-muted);
	font-size: 14px;
}

.project-fact dt .icon {
	color: var(--accent-blue);
}

.project-fact dd {
	margin: 4px 0 0;
	padding-inline-start: 28px;
	font-weight: 600;
}

.service-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
	border-bottom: 0;
}

.service-features .icon {
	color: var(--accent-blue);
	margin-top: 4px;
}

.project-facts .btn {
	width: 100%;
	justify-content: center;
	margin-top: 24px;
}

/* --- Team ------------------------------------------------------------- */

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 30px;
}

.team-card {
	background: var(--primary-dark);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	transition: var(--transition);
}

.team-card:hover {
	border-color: var(--accent-blue);
	transform: translateY(-5px);
}

.team-card__photo {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.team-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__body {
	padding: 22px;
}

.team-card__name {
	margin: 0 0 6px;
	font-size: 1.15rem;
}

.team-card__name a {
	color: inherit;
	text-decoration: none;
}

.team-card__role {
	margin: 0;
	color: var(--accent-blue);
	font-size: 14px;
}

.member-layout {
	display: grid;
	grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
	gap: 50px;
	align-items: start;
}

.member-photo img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.member-contact {
	display: grid;
	gap: 14px;
	margin-top: 30px;
}

.member-contact li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.member-contact .icon {
	color: var(--accent-blue);
}

.member-contact a {
	color: var(--text-light);
}

/* --- Timeline --------------------------------------------------------- */

.timeline {
	position: relative;
	display: grid;
	gap: 40px;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 10px;
	width: 2px;
	background: var(--border-color);
}

.timeline__item {
	position: relative;
	padding-inline-start: 46px;
}

.timeline__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 3px;
	top: 8px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent-blue);
}

.timeline__year {
	margin: 0 0 6px;
	color: var(--accent-blue);
	font-size: 1.4rem;
	font-weight: 800;
}

.timeline__title {
	margin: 0 0 10px;
	font-size: 1.3rem;
}

.timeline__image {
	margin-top: 18px;
	max-width: 420px;
}

.timeline__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* --- Sectors ---------------------------------------------------------- */

.sector-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.sector-card {
	height: 100%;
	background: var(--primary-dark);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	overflow: hidden;
	transition: var(--transition);
}

.sector-card:hover {
	border-color: var(--accent-blue);
	transform: translateY(-5px);
}

.sector-card__media {
	height: 180px;
	overflow: hidden;
}

.sector-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sector-card__media--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
	color: #04222b;
}

.sector-card__body {
	padding: 26px;
}

.sector-card__body h2 {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

.sector-card__body h2 a {
	color: inherit;
	text-decoration: none;
}

.sector-card__body p {
	margin: 0 0 10px;
	color: var(--text-muted);
}

.sector-card__count {
	margin: 0;
	color: var(--accent-blue);
	font-weight: 600;
	font-size: 14px;
}

/* --- Contact form ------------------------------------------------------ */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
	gap: 50px;
	align-items: start;
}

.contact-layout__aside {
	padding: 32px;
	background: var(--secondary-dark);
	border: 1px solid var(--border-color);
	border-radius: 16px;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.form-field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-field--wide {
	grid-column: 1 / -1;
}

.form-field label {
	font-weight: 600;
	font-size: 15px;
}

.form-field .required {
	color: #ff8a8a;
}

.form-field input,
.form-field textarea {
	padding: 14px 16px;
	background: var(--primary-dark);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-white);
	font-family: inherit;
	font-size: 15px;
}

.form-field.has-error input,
.form-field.has-error textarea {
	border-color: #ff8a8a;
}

.field-error {
	color: #ff8a8a;
	font-size: 14px;
}

.form-message {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding: 16px 20px;
	border-radius: 10px;
	font-weight: 600;
}

.form-message--success {
	background: rgba(0, 180, 216, 0.14);
	border: 1px solid var(--accent-blue);
	color: #8fe6f7;
}

.form-message--error {
	background: rgba(255, 138, 138, 0.12);
	border: 1px solid #ff8a8a;
	color: #ffc2c2;
}

.form-submit {
	margin-top: 26px;
}

/* Hidden from people, reachable by the bots that fill every field. */
.partners-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Footer ------------------------------------------------------------ */

.footer-heading {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 25px;
	color: var(--text-white);
}

.footer-social li {
	list-style: none;
}

/* The old chevron came from the icon font; this one costs nothing. */
.footer-links a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-top: 2px solid currentColor;
	border-inline-start: 2px solid currentColor;
	transform: rotate(-45deg);
	font-family: inherit;
	flex-shrink: 0;
}

.download-btn strong {
	display: block;
}

.download-meta {
	font-size: 12px;
	color: var(--text-muted);
}

.download-btn:hover .download-meta {
	color: inherit;
}

.download-btns li {
	list-style: none;
}

.iso-badge {
	margin-bottom: 0;
}

.iso-badge .icon {
	color: var(--accent-blue);
}

.iso-badge strong {
	display: block;
	color: var(--text-white);
}

.legal-links {
	display: flex;
	gap: 22px;
}

.legal-links a {
	color: var(--text-muted);
	text-decoration: none;
}

.legal-links a:hover {
	color: var(--accent-blue);
	text-decoration: underline;
}

/* --- Floating controls -------------------------------------------------- */

.whatsapp-fab,
.back-to-top {
	position: fixed;
	inset-inline-end: 24px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	box-shadow: var(--shadow);
}

.whatsapp-fab {
	bottom: 24px;
	background: #25d366;
	color: #04222b;
}

.back-to-top {
	bottom: 90px;
	background: var(--secondary-dark);
	border: 1px solid var(--border-color);
	color: var(--text-light);
}

.back-to-top[hidden] {
	display: none;
}

/* --- Pagination, entries and empty states -------------------------------- */

.pagination {
	margin-top: 60px;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	color: var(--text-light);
	text-decoration: none;
}

.pagination .current,
.pagination a:hover {
	background: var(--accent-blue);
	border-color: var(--accent-blue);
	color: #04222b;
}

.entry-content {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--text-light);
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--text-white);
	line-height: 1.35;
	margin-top: 1.8em;
}

.entry-content a {
	color: var(--accent-blue);
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.4em;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.entry-content blockquote {
	margin-inline: 0;
	padding-inline-start: 22px;
	border-inline-start: 3px solid var(--accent-blue);
	font-size: 1.15rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border: 1px solid var(--border-color);
	text-align: start;
}

.no-results {
	text-align: center;
	padding: 40px 0;
	color: var(--text-light);
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 50px;
}

.post-navigation a {
	display: block;
	padding: 20px;
	background: var(--secondary-dark);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	color: var(--text-light);
	text-decoration: none;
}

.post-navigation .nav-label {
	display: block;
	color: var(--accent-blue);
	font-size: 13px;
	margin-bottom: 6px;
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: 16px;
}

/* --- Responsive additions ------------------------------------------------ */

@media (max-width: 1200px) {
	.nav-menu {
		display: none;
	}
}

@media (max-width: 992px) {
	.project-layout,
	.contact-layout,
	.member-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.project-facts,
	.service-features {
		position: static;
	}
}

@media (max-width: 768px) {
	.page-header {
		padding: 140px 0 50px;
	}

	.contact-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.value-card--flip .value-image,
	.value-card--flip .value-content {
		order: initial;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 14px;
		text-align: center;
	}
}

/* --- Motion preferences --------------------------------------------------- */

/*
 * Respect the system setting: transitions, the carousel slide and the
 * scroll-triggered fills all become instant rather than animated.
 */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.heritage-slides {
		transition: none;
	}

	.card:hover,
	.team-card:hover,
	.sector-card:hover,
	.stat-card:hover,
	.value-card:hover,
	.portfolio-card:hover,
	.btn:hover {
		transform: none;
	}
}

/* --- Forced colours -------------------------------------------------------- */

@media (forced-colors: active) {
	.btn,
	.filter-btn,
	.card,
	.hero-dot,
	.carousel-dot {
		border: 1px solid;
	}

	.hero-dot.active,
	.carousel-dot.active {
		background: Highlight;
	}
}

/* --- Print ----------------------------------------------------------------- */

@media print {
	.header,
	.mobile-menu,
	.mobile-overlay,
	.hero-arrows,
	.hero-controls,
	.carousel-nav,
	.portfolio-filters,
	.back-to-top,
	.whatsapp-fab,
	.cta-section,
	.skip-link {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
