/*
Theme Name: Infraplan
Theme URI: http://infraplan.hr
Author: BozooArt
Author URI: http://infraplan.hr
Description: Custom WordPress theme for Infraplan - Consultancy in structural fields
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infraplan
Tags: custom, consulting, engineering
*/

/* CSS Variables */
:root {
    --primary-color: #182e43;
    --secondary-color: #1176c1;
    --accent-color: #3cc;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #8a9bb0;
    --color-mist: #e5eaf1;
    --sky: #b5d1e6;
    --background-light: #e8edf2;
    --background-team: #dce4ec;
    --light-gray: #ebebeb;
    --white: #ffffff;
    --font-heading: 'Comfortaa', sans-serif;
    --font-body: 'Red Hat Text', sans-serif;
    --transition: all 0.5s ease;
    --container-width: 1170px;
}

/* Reset & Base Styles */
html {
    font-size: 16px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.9;
    font-size: 1rem;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER - White background, dark text nav
   ========================================== */
.site-header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.header-logo-img {
    width: 200px;
    height: auto;
    transition: width 0.3s ease;
}

.site-header.scrolled .header-logo-img {
    width: 120px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding-bottom: 2px;
}

.main-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-menu li {
    list-style: none;
}

.main-menu a {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 0;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active,
.main-menu .current-menu-item > a {
    color: var(--secondary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after,
.main-menu .current-menu-item > a::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    position: relative;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.language-switcher a:hover {
    color: var(--secondary-color);
}

.language-switcher a:hover::after {
    width: 100%;
}

.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 5px;
    width: 36px;
    height: 36px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ X animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    margin-top: 106px;
    overflow: hidden;
    padding: 0
}

/* Admin bar offset for fixed header */
/* WP already adds margin-top to <html>, so only shift the header itself */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.hero-swiper {
    width: 100%;
    height: 600px; /* desktop hero height */
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.15);
    z-index: 2;
}

.hero-slide-overlay-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.85);
    clip-path: polygon(0 0, 55% 0, 75% 100%, 0 100%);
    z-index: 2;
    animation: fadeIn 1s ease-out both;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-slide-content h1 {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 550px;
}

.hero-slide-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Static hero fallback */
.hero-section.static-hero {
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 46, 67, 0.9) 0%, rgba(24, 46, 67, 0.6) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.625rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 550px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

/* Vertically center nav arrows in hero slider */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.125rem;
    font-weight: bold;
}

.swiper-button-next { right: 30px; }
.swiper-button-prev { left: 30px; }

.swiper-pagination { bottom: 25px !important; }

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--white);
    width: 10px;
}

/* ==========================================
   SECTIONS - Common styles
   ========================================== */
section {
    padding: 75px 0;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin-bottom: 30px;
}

.section-divider.centered {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* ==========================================
   ABOUT SECTION - Quote left, card right
   ========================================== */
.about-section {
    background: var(--light-gray);
    padding: 75px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 3fr 7fr; /* 30% left, 70% right */
    gap: 0;
    align-items: start;
}

.about-left {
    padding: 25px 40px 40px 0;
}

.about-left .section-label {
    color: var(--secondary-color);
    font-size: 2em;
    letter-spacing: 1px;
}

.about-quote-icon {
    width: 50px;
    height: 50px;
    margin: 20px 0;
    opacity: 0.15;
}

.about-quote-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.about-quote-text {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.about-right {
    background: var(--white);
    padding: 50px 50px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.08);
    border-radius: 2px;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    font-size: 1.06rem;
    color: var(--text-color); 
    line-height: 1.8em
}

.about-right .section-title {
    font: 1.6rem var(--font-body);;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--primary-color);
}

.about-right .section-title::after {
    margin: 40px 0 40px;
    border-bottom: 4px solid var(--sky);
    display: block;
    content: '';
    width: 200px; 
}

.about-right p {
    margin-bottom: 15px;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--sky);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-outline-white:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-arrow::after {
    content: '\203A';
    font-size: 1.125rem;
    margin-left: 4px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    padding: 12px 0;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link::after {
    content: '\2192';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-link:hover::after {
    transform: translateX(5px);
}

.btn-link:hover {
    opacity: 0.8;
}

/* ==========================================
   VIDEO SECTION
   ========================================== */
.video-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

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

.video-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.video-container iframe,
.video-container video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    height: auto;
}

.video-container img {
    width: 100%;
    display: block;
    cursor: pointer;
}

.video-caption {
    max-width: 960px;
    margin: 25px auto 0;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    line-height: 1.6;
}

.video-caption em {
    font-style: italic;
}

/* Video section responsive */
@media (max-width: 1024px) {
    .video-section {
        padding: 60px 0;
    }
    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .video-section {
        padding: 50px 0;
    }
    .video-caption {
        font-size: 0.875rem;
        margin-top: 18px;
        padding: 0 10px;
    }
}

/* ==========================================
   PARTNERS SECTION - Dark bg with overlay
   ========================================== */
.partners-section {
    background: url('images/terminal.jpg'); background-size: cover;
    position: relative;
    padding: 75px 0;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 40px;
}

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

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    min-height: 120px;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
}

.partner-logo img {
    max-height: 200px;
    max-width: 200px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    opacity: 1;
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section {
    background: var(--background-team);
    padding: 75px 0;
}

.team-card {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    max-width: 900px;
    margin: -180px auto 0;
    padding: 50px 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 10
}

.team-card .section-label {
    color: var(--secondary-color);
    font: 2rem var(--font-heading);
    letter-spacing: 1px;
    font-weight: 700
}

.team-card .section-subtitle {
    color: var(--primary-color);
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
    align-items: center;
    padding: 35px 0;
    border-top: 2px solid var(--background-light);
    text-align: left;
}

.team-member:first-child {
    border-top: none;
    padding-top: 0;
}

.team-member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    justify-self: end;


}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.team-member-content h3 {
    font-family: var(--font-body);
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-member-content .position {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-member-bio p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.team-view-all {
    margin-top: 35px;
    text-align: center;
}

/* ==========================================
   CONTACT SECTION - Simple CTA
   ========================================== */
.contact-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact-section .section-title {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-section .section-subtitle {
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin: 0 auto 20px;
    font-size: 1rem;
}

.contact-section .section-divider {
    margin: 0 auto 35px;
}

.contact-section .btn {
    font-size: 0.875rem;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page {
    padding: 60px 0 80px;
    background: var(--white);
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-intro p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: start;
}

/* Info Column */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e8ecf1;
}

.contact-info-card:first-child {
    padding-top: 0;
}

.contact-info-card:last-of-type {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #e5eaf1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-text h3 {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.9375rem;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.contact-info-text a:hover {
    color: var(--secondary-color);
}

.contact-social {
    padding-top: 20px;
    margin-top: 8px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--secondary-color);
    border-radius: 10px;
    color: var(--white);
    transition: background 0.2s, transform 0.2s;
}

.contact-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.contact-social a svg {
    width: 18px;
    height: 18px;
}

/* Form Column */
.contact-form-card {
    background: #f7f9fb;
    border-radius: 12px;
    padding: 45px 40px;
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form {
    max-width: none;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 0;
    border: 2px solid #e0e5ec;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--primary-color);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aab5;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(17, 118, 193, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
}

.btn-submit:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 46, 67, 0.25);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .btn-icon {
    width: 18px;
    height: 18px;
}

/* Form Status Message */
.form-status {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.form-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-status.error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Map Section */
.contact-map {
    line-height: 0;
    position: relative;
}
section.contact-map { padding: 0; margin: 0 }
.contact-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.35;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    display: block;
    filter: saturate(0.3) brightness(1.1);
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-col {
        order: 2;
    }

    .contact-form-col {
        order: 1;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 40px 0 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 30px 24px;
    }

    .contact-map iframe {
        height: 280px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo a {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-email {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    font-weight: 400;
}

.footer-email:hover {
    color: var(--white);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    font-size: 0.8125rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    color: rgba(255,255,255,0.5);
}

.footer-bottom-left a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom-left a:hover {
    color: var(--white);
}

.footer-bottom-right {
    color: rgba(255,255,255,0.5);
}

.footer-bottom-right a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom-right a:hover {
    color: var(--white);
}

/* ==========================================
   PAGE CONTENT (inner pages)
   ========================================== */
.site-main {
    padding: 80px 0;
}

.site-main .container {
    padding: 0 20px;
}

.entry-content {
    max-width: 900px;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 15px;
}

.entry-content h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0 10px;
}

.entry-content p {
    margin-bottom: 18px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.entry-content ul li,
.entry-content ol li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.entry-content ol {
    counter-reset: list-counter;
}

.entry-content ol li {
    counter-increment: list-counter;
}

.entry-content ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--secondary-color);
}

.entry-content a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.entry-content a:hover {
    border-bottom-color: var(--secondary-color);
}

.entry-content hr {
    border: none;
    height: 3px;
    background: var(--secondary-color);
    max-width: 200px;
    margin: 25px 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
    padding: 15px 25px;
    background: var(--background-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Single Post Content */
.single .post-thumbnail {
    margin-bottom: 40px;
}

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

/* Content Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.entry-content .wp-caption {
    max-width: 100%;
    margin: 20px 0;
}

.entry-content .wp-caption img {
    margin-bottom: 8px;
}

.entry-content .wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* WordPress Gallery */
.entry-content .gallery {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.entry-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.entry-content .gallery-item {
    margin: 0;
}

.entry-content .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
}

/* WordPress Block Gallery */
.entry-content .wp-block-gallery {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    padding: 0;
}

.entry-content .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .wp-block-gallery.columns-3 { grid-template-columns: repeat(3, 1fr); }

.entry-content .wp-block-gallery .wp-block-image {
    margin: 0;
}

.entry-content .wp-block-gallery .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
}

/* Responsive Video Embeds */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
    max-width: 100%;
    border-radius: 8px;
}

.entry-content .wp-block-embed,
.entry-content .wp-video {
    margin: 30px 0;
}

.entry-content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.entry-content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Tables in content */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9375rem;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.entry-content table th {
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.entry-content table tr:nth-child(even) {
    background: var(--background-light);
}

/* WordPress [gallery] shortcode styling */
.entry-content .gallery {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    padding: 0;
}

.entry-content .gallery-columns-1 { grid-template-columns: 1fr; }
.entry-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.entry-content .gallery-item {
    margin: 0 !important;
    padding: 0;
    text-align: center;
}

.entry-content .gallery-item dt.gallery-icon {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3 / 2;
}

.entry-content .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
    border: none !important;
    transition: transform 0.4s ease;
}

.entry-content .gallery-item:hover img {
    transform: scale(1.05);
}

.entry-content .gallery-caption {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding: 0 5px;
}

.entry-content .gallery br {
    display: none;
}

/* ==========================================
   NEWS PAGE (blog listing)
   ========================================== */
.news-page {
    background: var(--background-light);
}

.news-page .container {
    max-width: 1200px;
    padding: 60px 20px 80px;
}

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

.news-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--background-light);
    border-radius: 12px;
}

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

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

.news-card-content {
    padding: 24px;
}

.news-card-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: #6b7785;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.news-card-content h2 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-content h2 {
    color: var(--secondary-color);
}

/* Posts navigation */
.posts-navigation {
    margin-top: 50px;
    text-align: center;
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.posts-navigation .nav-links a {
    display: inline-block;
    padding: 10px 24px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background 0.3s ease;
}

.posts-navigation .nav-links a:hover {
    background: var(--primary-color);
}

/* Dot pagination (News / Portfolio) */
.infraplan-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.infraplan-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #c4cad2;
    color: transparent;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.infraplan-pagination .page-numbers:hover {
    background: var(--secondary-color);
    transform: scale(1.15);
}

.infraplan-pagination .page-numbers.current {
    background: var(--secondary-color);
    transform: scale(1.25);
}

/* Hide "..." dots — visual dot pagination doesn't need them */
.infraplan-pagination .page-numbers.dots {
    display: none;
}

/* Prev / next arrows */
.infraplan-pagination .page-numbers.prev,
.infraplan-pagination .page-numbers.next {
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid #d8dde3;
    margin: 0 6px;
}

.infraplan-pagination .page-numbers.prev:hover,
.infraplan-pagination .page-numbers.next:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: none;
}

.infraplan-pagination .page-numbers svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .infraplan-pagination { gap: 10px; margin-top: 40px; }
    .infraplan-pagination .page-numbers.prev,
    .infraplan-pagination .page-numbers.next {
        width: 32px;
        height: 32px;
    }
}

/* Single Post */
.single-post-date {
    display: block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.single .post-thumbnail {
    margin-bottom: 40px;
}

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

/* ==========================================
   RECENT NEWS CAROUSEL
   ========================================== */
.news-carousel-section {
    padding: 70px 0;
    background: #f5f5f5;
    overflow: hidden;
}

.news-carousel-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px
}

.news-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    width: 150%;
    margin-left: -25%;
}

.news-carousel-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    height: 100%;
}

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

.news-carousel-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--background-light);
    border-radius: 12px;
}

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

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

.news-carousel-card-content {
    padding: 24px;
}

.news-carousel-card-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: #6b7785;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.news-carousel-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.news-carousel-card:hover .news-carousel-card-content h3 {
    color: var(--secondary-color);
}

/* Carousel Nav Arrows */
.news-carousel-prev,
.news-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
    z-index: 10;
}

.news-carousel-prev { left: 0; }
.news-carousel-next { right: 0; }

.news-carousel-prev:hover,
.news-carousel-next:hover {
    color: var(--secondary-color);
}

.news-carousel-prev svg,
.news-carousel-next svg {
    width: 24px;
    height: 24px;
}

/* Carousel Pagination */
.news-carousel.swiper {
    padding-bottom: 50px; /* room for dots below cards */
}

.news-carousel-pagination.swiper-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.news-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.2;
    margin: 0 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-carousel-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 28px;
    border-radius: 5px;
}

.news-carousel .swiper-slide {
    height: auto;
}

.news-carousel-card {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   RESULTS SECTION
   ========================================== */
.results-section {
    background: var(--primary-color);
    color: #ffffff;
    padding: 80px 0;
    margin-top: -120px
}

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

.results-text {
    max-width: 800px;
}

.results-section .section-title {
    color: #ffffff;
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.results-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    margin: 0;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.results-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.results-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.results-btn:hover {
    color: #ffffff;
}

.results-btn svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.results-btn:hover svg {
    opacity: 1;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background: var(--white);
    padding: 80px 0;
}

.services-section .section-title {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0
}

.services-section .section-subtitle {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.services-section .section-divider.centered {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    margin-bottom: 50px;
}

.service-card {
    text-align: center;
    padding: 20px 15px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    color: var(--secondary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

.services-cta {
    text-align: center;
    margin-top: 10px;
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-left {
        padding: 0 0 30px;
    }

    .about-right {
        margin-top: 0;
    }

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-member {
        grid-template-columns: 1fr 160px;
        gap: 30px;
    }

    .team-member-image {
        width: 150px;
        height: 150px;
    }

    /* Page hero tablet */
    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.375rem;
    }

    /* About page tablet */
    .about-team-section {
        padding: 50px 0 60px;
    }

    .about-team-card {
        padding: 40px 35px;
    }

    .about-team-grid .about-team-member {
        grid-template-columns: 1fr 180px;
        gap: 0 30px;
    }

    .about-team-grid .about-team-member-photo {
        width: 160px;
        height: 160px;
    }

    .about-team-member-info h3 {
        font-size: 1.625rem;
    }

    /* Services tablet */
    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr 100px;
        gap: 30px;
    }

    .service-item.reverse .service-icon {
        order: 0;
    }

    /* News tablet */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .news-page .container {
        padding: 50px 20px 60px;
    }

    /* Portfolio tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Single project tablet */
    .project-hero-content h1 {
        font-size: 3rem;
    }

    .project-hero-subtitle {
        font-size: 1.625rem;
    }

    .project-details-layout {
        grid-template-columns: 1fr 220px;
        gap: 30px;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .header-logo-img {
        width: 150px;
    }

    .header-container {
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        z-index: 999;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .main-navigation.active {
        left: 0;
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-menu li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--background-light);
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        width: 100%;
        justify-content: center;
    }

    .language-switcher a {
        display: flex;
        justify-content: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--background-light);
        width: 100%;
    }

    .language-switcher a::after {
        display: none;
    }

    .hero-swiper {
        height: 100vh;
    }

    .hero-slide-content h1,
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-left {
        padding: 0 0 20px;
    }

    .about-right {
        padding: 30px 25px;
        margin-top: 0;
    }

    .about-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-section {
        padding: 50px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-section .section-title {
        font-size: 1.375rem;
    }

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

    .team-card {
        padding: 30px 25px;
    }

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-member-image {
        width: 150px;
        height: 150px;
        justify-self: center;
        order: -1;
    }

    /* Page hero mobile */
    .page-hero {
        height: 280px;
    }

    .page-hero-overlay-diagonal {
        clip-path: polygon(0 0, 70% 0, 90% 100%, 0 100%);
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1.125rem;
    }

    .about-content-inner h2,
    .about-content-inner h3 {
        font-size: 1.375rem;
    }

    .about-team-section {
        padding: 40px 0 50px;
    }

    .about-team-card {
        padding: 25px 20px;
    }

    .about-team-card .section-label {
        font-size: 1.25rem;
    }

    .about-team-card .section-subtitle {
        font-size: 0.875rem;
        margin-bottom: 25px;
    }

    .about-team-grid .about-team-member {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        overflow: hidden;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .about-team-grid .about-team-member:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .about-team-member-info h3 {
        font-size: 1.25rem;
    }

    .about-team-position {
        font-size: 0.875rem;
        margin-bottom: 15px;
    }

    .about-team-bio p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .about-team-grid .about-team-member-photo {
        width: 140px;
        height: 140px;
        justify-self: center;
        order: -1;
        margin-top: 0;
    }

    .about-team-divider {
        margin: 0 auto 20px;
    }

    /* Services mobile */
    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .service-icon {
        order: -1;
        justify-content: center;
    }

    .service-item.reverse .service-icon {
        order: -1;
    }

    .service-divider {
        max-width: 150px;
    }

    /* Gallery mobile */
    .entry-content .gallery-columns-3,
    .entry-content .gallery-columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* News mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-page .container {
        padding: 40px 20px 50px;
    }

    .news-card-content h2 {
        font-size: 1rem;
    }

    /* Portfolio mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-card-info {
        padding: 18px;
    }

    .portfolio-card-info h3 {
        font-size: 1rem;
    }

    /* Single project mobile */
    .project-hero {
        height: 280px;
    }

    .project-hero-overlay-diagonal {
        clip-path: polygon(0 0, 70% 0, 90% 100%, 0 100%);
    }

    .project-hero-content h1 {
        font-size: 2.625rem;
    }

    .project-hero-subtitle {
        font-size: 1.1875rem;
    }

    .project-details-layout {
        grid-template-columns: 1fr;
    }

    .project-details-logo {
        max-width: 250px;
    }

    .project-info-row {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .project-info-label {
        font-size: 0.875rem;
    }

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

    .project-carousel-wrapper,
    .news-carousel-wrapper {
        padding: 0 15px;
        width: 100%;
        margin-left: 0;
    }

    .project-carousel-prev,
    .project-carousel-next,
    .news-carousel-prev,
    .news-carousel-next {
        display: none;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

/* ==========================================
   PAGE HERO (reusable banner for all pages)
   ========================================== */
.page-hero {
    position: relative;
    height: 400px;
    margin-top: 85px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.15);
    z-index: 0;
}

.page-hero-overlay-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.85);
    clip-path: polygon(0 0, 55% 0, 75% 100%, 0 100%);
    z-index: 0;
    animation: fadeIn 1s ease-out both;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.page-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

/* .admin-bar .page-hero margin-top handled by WP html shift */

/* ==========================================
   ABOUT US PAGE
   ========================================== */

/* About Content Section */
.about-content-section {
    background: #fafbfc;
    padding: 70px 0 80px;
}

.about-content-inner {
    max-width: 750px;
    color: var(--text-color);
    margin: 0 auto;
}

.about-content-inner h2,
.about-content-inner h3 {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-content-inner p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Team Section on About Page */
.about-team-section {
    background: #e5eaf1;
    padding: 70px 0 80px;
}

.about-team-card {
    background: var(--white);
    max-width: 1000px;
    margin: -120px auto 0;
    padding: 50px 60px;
    border-radius: 8px;
    text-align: center;
    
}

.about-team-card .section-label {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1.5625rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

.about-team-card .section-subtitle {
    color: var(--text-light);
    font-size: 0.9375rem;
    font-style: italic;
    margin-bottom: 40px;
    margin-top: 8px;
}

.about-team-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-team-member {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0 50px;
    align-items: center;
    text-align: left;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--sky);
}

.about-team-member:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.about-team-member-info h3 {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.about-team-position {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-team-bio p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-team-member-photo {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    justify-self: end;
}

.about-team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-content {
    padding: 70px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 50px;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 0;
}

.service-item:first-child {
    padding-top: 0;
}

.service-item.reverse {
    grid-template-columns: 150px 1fr;
}

.service-item.reverse .service-icon {
    order: -1;
}

.service-divider {
    max-width: 200px;
    height: 3px;
    background: var(--sky);
    margin: 0 auto;
}

.service-info h3 {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100px;
    height: 100px;
}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */
.portfolio-section {
    padding: 70px 0;
}

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

.portfolio-card {
    display: block;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

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

.portfolio-card-image {
    position: relative;
    overflow: hidden;
    background: var(--background-light);
    border-radius: 12px;
}

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

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

/* Portfolio Card Hover Overlay */
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 46, 67, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-card-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-card-overlay p {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.5;
    max-width: 90%;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-card-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-card-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1.5;
    opacity: 0.5;
}

.portfolio-card-info {
    padding: 24px;
}

.portfolio-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-card-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-projects {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    padding: 60px 0;
}

/* ==========================================
   SINGLE PROJECT PAGE
   ========================================== */

/* Project Hero */
.project-hero {
    position: relative;
    height: 400px;
    margin-top: 85px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: 52% 63%;
    background-repeat: no-repeat;
}

/* .admin-bar .project-hero margin-top handled by WP html shift */

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.15);
    z-index: 0;
}

.project-hero-overlay-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 46, 67, 0.85);
    clip-path: polygon(0 0, 55% 0, 75% 100%, 0 100%);
    z-index: 0;
    animation: fadeIn 1s ease-out both;
}

.project-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
}

.project-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 5px;
}

.project-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.125rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-top: -10px;
}

/* Details Section */
.project-details-section {
    padding: 60px 0;
    background: #f0f0f0;
}

.project-details-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
    align-items: center;
}

.project-details-info {
    font-size: 1rem;
}

.project-info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.project-info-row:first-child {
    border-top: 1px solid #e0e0e0;
}

.project-info-label {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.project-info-value {
    color: var(--text-color);
    line-height: 1.6;
}

.project-info-value a {
    color: var(--secondary-color);
    text-decoration: none;
}

.project-info-value a:hover {
    text-decoration: underline;
}

.project-info-eu {
    margin-top: 24px;
}

.project-info-eu img {
    max-height: 56px;
    width: auto;
}

.project-detail-row {
    padding: 10px 0;
    font-size: 0.9375rem;
    line-height: 1.8;
    border-bottom: 1px solid var(--background-light);
}

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

.project-detail-row strong {
    color: var(--primary-color);
    margin-right: 10px;
}

.project-detail-row a {
    color: var(--secondary-color);
    text-decoration: none;
}

.project-detail-row a:hover {
    text-decoration: underline;
}

.project-details-logo {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-details-logo img {
    max-width: 100%;
    height: auto;
}

/* Partners Section */
.project-partners-section {
    padding: 60px 0;
    background: var(--white);
}

.project-partners-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.project-partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.project-partners-logos img {
    max-width: 100%;
    height: auto;
}

/* Content Section */
.project-content-section {
    padding: 60px 0;
    background: var(--white);
}

.project-content-inner {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-color);
}

.project-content-inner h2,
.project-content-inner h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.project-content-inner p {
    margin-bottom: 15px;
}

.project-content-inner ul {
    margin: 0 0 20px 25px;
    list-style-type: disc;
    padding-left: 5px;
}

.project-content-inner ul li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.project-content-inner ol {
    margin: 0 0 20px 25px;
}

.project-content-inner a {
    color: var(--secondary-color);
}

/* Responsive video embed */
.project-content-inner iframe,
.project-content-inner video,
.project-content-inner embed,
.project-content-inner object {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.project-content-inner .wp-block-embed,
.project-content-inner .wp-block-video {
    width: 100%;
    margin: 20px 0;
}

.project-content-inner .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.project-content-inner .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Gallery Section */
.project-gallery-section {
    padding: 60px 0;
    background: #fafbfc;
}

.project-gallery-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.project-gallery-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.05);
}

/* Other Projects Carousel */
.project-carousel-section {
    padding: 70px 0;
    background: #f5f5f5;
}

.project-carousel-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.project-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    width: 150%;
    margin-left: -25%;
}

.project-carousel .swiper-slide {
    height: auto;
}

.project-carousel .portfolio-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-carousel .portfolio-card-info {
    flex: 1;
}

/* Carousel Nav Arrows */
.project-carousel-prev,
.project-carousel-next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-70%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 2;
}

.project-carousel-prev { left: 0; }
.project-carousel-next { right: 0; }

.project-carousel-prev:hover,
.project-carousel-next:hover {
    color: var(--white);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(17, 118, 193, 0.3);
}

.project-carousel-prev svg,
.project-carousel-next svg {
    width: 22px;
    height: 22px;
}

/* Carousel Pagination Dots */
.project-carousel-pagination {
    margin-top: 55px;
    text-align: center;
    position: relative;
}

.project-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.2;
    margin: 0 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-carousel-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Project Hero Animations */
.project-hero-content h1 {
    animation: fadeInDown 0.8s ease-out both;
}

.project-hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */

/* Base state ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â hidden before entering viewport */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â delay increases per child */
.reveal-children > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-children > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-children > .reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal-children > .reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal-children > .reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal-children > .reveal:nth-child(6) { transition-delay: 0.2s; }
.reveal-children > .reveal:nth-child(7) { transition-delay: 0.2s; }
.reveal-children > .reveal:nth-child(8) { transition-delay: 0.25s; }

/* Direction variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.reveal-visible,
.reveal-right.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale variant ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â subtle zoom-in */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-scale.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ==========================================================================
   Project Page Responsive Overrides
   (Must come AFTER base project styles to properly override via cascade)
   ========================================================================== */

@media (max-width: 1024px) {
    .project-hero-content h1 {
        font-size: 3rem;
    }

    .project-hero-subtitle {
        font-size: 1.625rem;
    }

    .project-details-layout {
        grid-template-columns: 1fr 220px;
        gap: 30px;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    /* Hero */
    .project-hero {
        height: 260px;
    }

    .project-hero-overlay-diagonal {
        clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
    }

    .project-hero-content h1 {
        font-size: 2rem;
    }

    .project-hero-subtitle {
        font-size: 1rem;
        margin-top: -5px;
    }

    /* Details Section */
    .project-details-section {
        padding: 35px 0;
    }

    .project-details-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-details-logo {
        max-width: 200px;
        margin: 0 auto;
        padding: 20px;
    }

    .project-info-row {
        grid-template-columns: 1fr;
        gap: 2px 0;
        padding: 10px 0;
    }

    .project-info-label {
        font-size: 0.8125rem;
        white-space: normal;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--secondary-color);
    }

    .project-info-value {
        margin-top: 2px;
    }

    .project-info-eu img {
        max-height: 44px;
    }

    /* Content Section */
    .project-content-section {
        padding: 35px 0;
    }

    .project-content-inner {
        font-size: 1rem;
    }

    .project-content-inner h2,
    .project-content-inner h3 {
        margin: 20px 0 10px;
    }

    /* Gallery Section */
    .project-gallery-section {
        padding: 35px 0;
    }

    .project-gallery-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Partners Section */
    .project-partners-section {
        padding: 35px 0;
    }

    .project-partners-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .project-partners-logos {
        gap: 20px;
    }

    .project-partners-logos img {
        max-width: 100%;
    }

    /* Other Projects Carousel */
    .project-carousel-section {
        padding: 40px 0;
    }

    .project-carousel-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .project-carousel-wrapper {
        padding: 0 15px;
        width: 100%;
        margin-left: 0;
    }

    .project-carousel-prev,
    .project-carousel-next {
        display: none;
    }
}

/* ==========================================
   RESULTS SECTION ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â Responsive
   ========================================== */
@media (max-width: 1024px) {
    .results-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .results-action {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .results-section {
        padding: 50px 0;
        margin-top: -60px;
    }

    .results-section .section-title {
        font-size: 1.375rem;
    }

    .results-section .section-subtitle {
        font-size: 0.875rem;
    }
}

/* ==========================================
   HOMEPAGE RESPONSIVE FIXES
   ========================================== */

/* --- Tablet (max 991px) --- */
@media (max-width: 991px) {
    .results-section {
        margin-top: -80px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 12px;
    }

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

/* --- Mobile (max 767px) --- */
@media (max-width: 767px) {

    /* Hero */
    .hero-slide-content {
        padding: 0 20px;
    }

    .hero-slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-slide-overlay-diagonal {
        clip-path: polygon(0 0, 75% 0, 95% 100%, 0 100%);
    }

    .hero-slide-content .btn {
        font-size: 0.8125rem;
        padding: 10px 22px;
    }

    /* Results */
    .results-layout {
        gap: 20px;
    }

    /* Partners */
    .partners-section {
        padding: 50px 0;
    }

    .partner-logo {
        padding: 15px 10px;
    }

    /* Team */
    .team-member-content h3 {
        font-size: 1.125rem;
    }

    .team-member-bio {
        font-size: 0.875rem;
    }

    .team-view-all {
        margin-top: 25px;
    }

    /* Contact */
    .contact-section {
        padding: 50px 0;
    }

    .contact-section .section-title {
        font-size: 1.375rem;
    }

    .contact-section .section-subtitle {
        font-size: 0.875rem;
        padding: 0 10px;
    }

    /* News carousel */
    .news-carousel-section {
        padding: 50px 0;
    }

    .news-carousel-section .section-title {
        font-size: 1.375rem;
        margin-bottom: 25px;
    }

    .news-carousel-prev,
    .news-carousel-next {
        display: none;
    }

    .news-carousel-card-content {
        padding: 16px;
    }

    .news-carousel-card-content h3 {
        font-size: 0.9375rem;
    }

    /* Footer */
    .footer-logo-img {
        height: 45px;
    }

    .footer-email {
        font-size: 0.8125rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding: 12px 0;
    }
}

/* --- Small mobile (max 480px) --- */
@media (max-width: 480px) {
    .hero-swiper {
        height: 85vh;
    }

    .hero-slide-content h1,
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-slide-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .section-label {
        font-size: 0.6875rem;
    }

    .about-left blockquote {
        font-size: 1.125rem;
    }

    .results-section {
        margin-top: -40px;
    }

    .results-section .section-title {
        font-size: 1.25rem;
    }
}
