/* Variables */
:root {
    --primary-color: #39A7FF;
    --secondary-color: #0B1D4B;
    --text-color: #4A6073;
    --heading-color: #0B1D4B;
    --light-bg: #F2F7FF;
    --white: #FFFFFF;
    --border-color: #D6E4FF;
    --transition: all 0.3s ease;

    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.65;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 100;
    color: #000000;
    font-size: 28px;
    line-height: 31px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-style: normal;
}

h1 {
    color: #FFFFFF;
}

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

a:hover {
    text-decoration: none !important;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.page-subnav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0 40px;
    position: relative;
    z-index: 1;
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--white);
    color: var(--secondary-color);
}

.subnav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.subnav-link--ghost {
    padding: 0;
    border-color: transparent;
    border-radius: 0;
    font-family: var(--font-primary);
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.subnav-link--ghost:hover {
    color: var(--primary-color);
}

.team-page-subnav {
    margin-top: 40px;
}

.projects-page-subnav {
    margin-top: 35px;
}

.vacancies-section .section-header,
.announcements-section .section-header {
    margin-bottom: 40px;
}

.vacancies-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
    margin-bottom: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.filter-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

.vacancy-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.08);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.vacancy-header h3 {
    margin-bottom: 6px;
}

.vacancy-meta {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-color);
}

.vacancy-badge {
    background-color: rgba(57, 167, 255, 0.18);
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.vacancy-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
}

.vacancy-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading-color);
}

.vacancy-highlights i {
    color: var(--primary-color);
    font-size: 14px;
}

.vacancy-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--secondary-color);
    border-bottom: 1px solid transparent;
}

.link-inline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.vacancies-cta {
    margin-top: 50px;
    text-align: center;
    background-color: var(--white);
    border: 1px dashed var(--border-color);
    padding: 40px;
    border-radius: 16px;
}

.vacancies-cta h3 {
    margin-bottom: 10px;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.announcement-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
}

.announcement-date {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.announcement-title {
    margin-bottom: 0;
}

.announcement-feed {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.announcement-feed .link-inline {
    color: var(--primary-color);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.feed-header h3 {
    margin-bottom: 0;
    color: var(--white);
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feed-list li {
    display: grid;
    grid-template-columns: 70px 1fr 32px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.05);
}

.feed-date {
    font-family: var(--font-secondary);
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.feed-list h4 {
    margin-bottom: 6px;
    color: var(--white);
}

.feed-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
}

.feed-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 15px;
}

.feed-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-subnav--compact {
    margin: 10px 0 35px;
    gap: 12px;
}

.glimpses {
    background-color: var(--light-bg);
}

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

.glimpse-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glimpse-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.glimpse-card h3 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.glimpse-title {
    font-family: var(--font-secondary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.glimpse-text {
    font-size: 16px;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-style: normal;
}

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

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

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

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

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

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-icon {
    color: var(--primary-color);
    font-size: 28px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.has-dropdown > .nav-link {
    padding-right: 18px;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--heading-color);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item:hover > .dropdown-toggle,
.nav-item.open > .dropdown-toggle {
    color: var(--primary-color);
}

.nav-item.open > .dropdown-toggle {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    padding: 15px 0;
    display: none;
    z-index: 1000;
}

.nav-item:hover > .dropdown {
    display: block;
}

.nav-item.open > .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 10px 25px;
    font-size: 15px;
    color: var(--heading-color);
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.dropdown .has-subdropdown {
    position: relative;
}

.dropdown .has-subdropdown > .dropdown-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.dropdown .sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: none;
}

.dropdown .has-subdropdown:hover > .sub-dropdown,
.dropdown .has-subdropdown.open > .sub-dropdown {
    display: block;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--heading-color);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--heading-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 0;
    width: 100%;
    /* Reset if needed */
}

.hero-slider,
.hero-slide {
    height: 100%;
    width: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-secondary);
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title {
    font-size: 36px;
    margin-bottom: 0;
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.project-case {
    margin-bottom: 80px;
}

.project-case:last-of-type {
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 600px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    padding: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.feature {
    display: flex;
    gap: 15px;
}

.feature i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature p {
    font-size: 14px;
    color: var(--text-color);
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

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

.service-category {
    margin-top: 60px;
}

.service-category:first-of-type {
    margin-top: 30px;
}

.service-category-title {
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-text {
    margin-bottom: 20px;
    font-size: 16px;
}

.service-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
}

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

.project-info h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 5px;
}

.project-info h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-style: normal;
}

.project-info p {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.project-link {
    margin-top: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.project-link:hover {
    background-color: var(--white);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.division-section .section-header {
    margin-bottom: 35px;
}

.division-subsection {
    margin-top: 50px;
}

.division-subsection:first-of-type {
    margin-top: 35px;
}

.division-title {
    font-family: var(--font-secondary);
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.division-text {
    max-width: 760px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.ongoing-projects {
    background-color: var(--light-bg);
}

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

.ongoing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.ongoing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(57, 167, 255, 0.16);
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    font-size: 13px;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
}

.ongoing-title {
    font-size: 22px;
    text-transform: none;
    letter-spacing: 0;
}

.ongoing-list {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.ongoing-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
    align-items: start;
}

.ongoing-list i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* Case Study Styles */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.case-study-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

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

.case-study-content {
    display: flex;
    flex-direction: column;
}

.case-study-content h3 {
    font-size: 28px;
    margin: 15px 0;
    color: var(--secondary-color);
}

.case-study-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.case-study-stats div {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.case-study-stats small {
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-secondary);
    display: block;
    margin-bottom: 8px;
}

.case-study-stats p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--secondary-color);
}

.team-card {
    background-color: var(--white);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

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

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(11, 29, 75, 0.92);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: var(--transition);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-socials a {
    color: var(--white);
    font-size: 18px;
}

.team-socials a:hover {
    color: var(--primary-color);
}

.team-info {
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-top: none;
}

.team-info h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.team-info p {
    color: var(--text-color);
    font-size: 15px;
    text-transform: uppercase;
}

/* Contact Section */
.contact-section {
    padding-top: 100px;
}

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

.contact-intro .section-text {
    margin: 0 auto 25px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-overview .section-text {
    margin-bottom: 20px;
}

.contact-cards {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.contact-section-block {
    margin-top: 45px;
}

.contact-section-block:first-of-type {
    margin-top: 30px;
}

.contact-section-block h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-section-block .section-text {
    margin-bottom: 15px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card i {
    font-size: 26px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-card h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-card span {
    font-size: 15px;
    color: var(--text-color);
}

.social-link-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--heading-color);
}

.social-link i {
    font-size: 16px;
    color: var(--primary-color);
}

.social-link:hover {
    color: var(--primary-color);
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-highlights h3 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-highlights span {
    font-size: 15px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    border-radius: 0;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--text-color);
}

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

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(57, 167, 255, 0.25);
    background-color: var(--white);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%234A6073' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 6px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .form-group.full {
    grid-column: 1 / -1;
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.form-footer .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.form-footer .checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.contact-offices .service-card {
    height: 100%;
}

.contact-map .map-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 380px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(26, 26, 26, 0.85);
    color: var(--white);
    padding: 25px 30px;
    max-width: 320px;
}

.map-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.map-overlay p {
    font-size: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.map-overlay .btn-secondary {
    border-color: var(--primary-color);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: #111111;
    color: #AAAAAA;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 25px;
    font-size: 16px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: #222;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        padding: 40px;
        transition: var(--transition);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-item {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .has-dropdown > .nav-link {
        width: 100%;
        text-align: left;
    }

    .dropdown-toggle {
        margin-left: auto;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 15px;
    }

    .dropdown-link {
        padding: 10px 10px;
        display: block;
        width: 100%;
    }

    .dropdown .has-subdropdown > .dropdown-toggle {
        position: static;
        transform: none;
        margin-left: 10px;
    }

    .dropdown .sub-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }

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

    .experience-badge {
        right: 20px;
    }

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

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

    .project-card {
        height: 200px;
    }

    /* Case Study Responsive - Tablets */
    .case-study {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    .case-study-content h3 {
        font-size: 24px;
        margin: 12px 0;
    }

    .case-study-stats {
        gap: 12px;
        margin: 18px 0;
    }

    .case-study-stats small {
        font-size: 12px;
    }

    .case-study-stats p {
        font-size: 14px;
    }

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

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

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

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .vacancies-filters {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 25px;
    }

    .vacancy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vacancy-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .announcement-feed {
        padding: 30px;
    }

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

    .ongoing-card {
        padding: 20px;
        gap: 12px;
    }

    .ongoing-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .ongoing-title {
        font-size: 18px;
    }

    .ongoing-list li {
        font-size: 14px;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

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

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

    .service-icon {
        height: 200px;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-text {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .service-link {
        font-size: 13px;
    }

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

    .project-card {
        height: 200px;
    }

    .project-info h3,
    .project-info h4 {
        font-size: 14px;
    }

    .project-info p {
        font-size: 10px;
    }

    .project-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Case Study Responsive - Large Phones */
    .case-study {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 35px;
    }

    .case-study-content h3 {
        font-size: 20px;
        margin: 10px 0;
    }

    .case-study-content p {
        font-size: 15px;
    }

    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 16px 0;
    }

    .case-study-stats small {
        font-size: 11px;
    }

    .case-study-stats p {
        font-size: 13px;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .nav-btn {
        padding: 12px 24px !important;
        font-size: 13px !important;
    }

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

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

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

    .map-overlay {
        position: static;
        margin-top: 20px;
        max-width: 100%;
    }

    .vacancies-filters {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .vacancy-card {
        padding: 24px;
    }

    .vacancy-actions {
        width: 100%;
    }

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

    .feed-list li {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }

    .feed-date {
        justify-self: flex-start;
    }

    .feed-link {
        justify-self: start;
    }
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    font-size: 1.1rem;
}

.breadcrumb li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: var(--primary-color);
}

.breadcrumb li::after {
    content: '/';
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb li:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* Stats Grid in About */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: rgba(57, 167, 255, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.mv-list {
    margin-top: 20px;
    text-align: left;
    display: grid;
    gap: 12px;
}

.mv-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
    align-items: start;
}

.mv-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

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

/* Services Page Specifics */
.service-list {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color);
}

.service-list i {
    color: var(--primary-color);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

/* Common body text sizing for readability */
p,
.section-text,
.service-text,
.about-container p,
.project-case p,
.feature p,
.vacancy-card p,
.announcement-card p,
.contact-overview .section-text,
.contact-card span,
.contact-form-wrapper p {
    font-size: 19px;
}

/* Heading size scale */
h1 { font-size: 56px; line-height: 1.15; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 28px; line-height: 1.25; }
h4 { font-size: 24px; line-height: 1.3; }
h5 { font-size: 20px; line-height: 1.35; }
h6 { font-size: 18px; line-height: 1.4; }

/* Responsive type scale */
@media (max-width: 992px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .hero-title { font-size: 48px; }
}

@media (max-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .hero-title { font-size: 40px; }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .service-card {
        padding: 18px 14px;
    }

    .service-icon {
        height: 140px;
        margin-bottom: 12px;
    }

    .service-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .service-text {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .service-link {
        font-size: 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card {
        height: 180px;
    }

    .project-info h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .project-info h4 {
        font-size: 12px;
    }

    .project-info p {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .project-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-top: 12px;
    }

    /* Case Study Responsive - Standard Phones */
    .case-study {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .case-study-content h3 {
        font-size: 18px;
        margin: 10px 0;
    }

    .case-study-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 14px 0;
    }

    .case-study-stats div {
        padding: 12px 10px;
    }

    .case-study-stats small {
        font-size: 10px;
    }

    .case-study-stats p {
        font-size: 12px;
        margin-top: 3px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 24px;
    }

    .page-header {
        padding: 70px 0 40px;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .breadcrumb {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .breadcrumb li::after {
        margin-left: 0.5rem;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    
    p,
    .section-text,
    .service-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .nav-btn {
        padding: 10px 16px !important;
        font-size: 11px !important;
        margin-bottom: 8px;
    }

    .footer-container {
        gap: 25px;
    }

    .ongoing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ongoing-card {
        padding: 16px 12px;
        gap: 10px;
    }

    .ongoing-badge {
        font-size: 10px;
        padding: 4px 10px;
        gap: 4px;
    }

    .ongoing-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .ongoing-list {
        gap: 10px;
    }

    .ongoing-list li {
        font-size: 13px;
        gap: 8px;
    }

    .ongoing-list i {
        margin-top: 2px;
        font-size: 12px;
    }
}

/* Very small devices (320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 40px 0;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 15px 12px;
    }

    .service-icon {
        height: 120px;
        margin-bottom: 10px;
    }

    .service-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .service-text {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .page-header {
        padding: 60px 0 30px;
    }

    .page-title {
        font-size: 1.25rem;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 16px; }
    
    p,
    .section-text {
        font-size: 14px;
    }

    .nav-btn {
        padding: 8px 12px !important;
        font-size: 10px !important;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-card {
        height: 160px;
    }

    .project-info h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .project-info h4 {
        font-size: 11px;
    }

    .project-info p {
        font-size: 8px;
    }

    .project-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-top: 10px;
    }

    .ongoing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ongoing-card {
        padding: 14px 10px;
        gap: 8px;
    }

    .ongoing-badge {
        font-size: 9px;
        padding: 3px 8px;
        gap: 3px;
    }

    .ongoing-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .ongoing-list {
        gap: 8px;
    }

    .ongoing-list li {
        font-size: 12px;
        gap: 6px;
    }

    .ongoing-list i {
        margin-top: 1px;
        font-size: 11px;
    }

    /* Case Study Responsive Styles */
    .case-study {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .case-study-img {
        order: 2;
    }

    .case-study-content h3 {
        font-size: 16px;
        margin: 10px 0;
    }

    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 15px 0;
    }

    .case-study-stats div {
        padding: 10px 8px;
    }

    .case-study-stats small {
        font-size: 11px;
    }

    .case-study-stats p {
        font-size: 12px;
        margin-top: 4px;
    }
}