/* ==========================================================================
   CROSSMETRIK STRUCTURAL CONSULTANCY LLP - MASTER STYLESHEET
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design System Variables --- */
:root {
    --primary: #0f3573;
    --primary-dark: #012f6d;
    --primary-light: #1d4ed8;
    --accent: #d9765d;
    --accent-hover: #c86349;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    --white: #ffffff;
    --black: #0f172a;
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; position: relative; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1rem; }
strong { font-weight: 600; color: var(--black); }

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0.75rem auto 0 auto;
    border-radius: var(--radius-sm);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Header / Navbar --- */
.header {
    height: var(--header-height);
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header.scrolled .logo img {
    height: 42px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: linear-gradient(135deg, rgba(15, 53, 115, 0.95) 0%, rgba(1, 47, 109, 0.98) 100%), 
                url('../Photos/hero_arenco_concept.png') no-repeat center center/cover;
    color: var(--white);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: linear-gradient(var(--white) 1px, transparent 1px),
                      linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero h1 span {
    color: var(--accent);
}

.hero-desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.graphic-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Blueprint design in hero */
.blueprint-circle {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(217, 118, 93, 0.3);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.blueprint-square {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.graphic-image {
    width: 94%;
    height: 94%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 5;
    background-color: transparent;
    padding: 0;
}

/* --- Section Global --- */
.section {
    padding: 6.5rem 0;
}
.bg-light-sec {
    background-color: var(--bg-light);
}
.bg-white-sec {
    background-color: var(--white);
}

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
    width: 90%;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 220px;
    text-align: center;
    border-bottom: 5px solid var(--accent);
}

.about-badge-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.about-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.about-text-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(15, 53, 115, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.service-link span {
    transition: var(--transition-fast);
}

.service-link:hover span {
    transform: translateX(5px);
}

/* --- Features Section (Why Choose Us) --- */
.features-sec {
    background: linear-gradient(rgba(15, 53, 115, 0.9), rgba(1, 47, 109, 0.92)), 
                url('../Photos/3-MockGirders4.jpeg') no-repeat center center/cover;
    color: var(--white);
    padding: 7rem 0;
}

.features-sec h2 {
    color: var(--white);
}

.features-sec .section-header p {
    color: #cbd5e1;
}

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

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-box p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- Global Section Banner --- */
.page-banner {
    background: linear-gradient(135deg, rgba(15, 53, 115, 0.95) 0%, rgba(1, 47, 109, 0.98) 100%), 
                url('../Photos/4-DubaiLights2.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 140px 0 60px 0;
    text-align: center;
    position: relative;
}

.page-banner-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: linear-gradient(var(--white) 1px, transparent 1px),
                      linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.page-banner h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.page-breadcrumbs a {
    color: var(--accent);
}

.page-breadcrumbs a:hover {
    color: var(--white);
}

/* --- Projects Page Filtering --- */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.project-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #e2e8f0;
}

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

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

.project-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
}

.project-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-card-meta {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    flex-grow: 1;
}

.meta-row {
    display: flex;
    margin-bottom: 0.5rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: var(--text-dark);
    width: 90px;
    flex-shrink: 0;
}

.meta-val {
    color: var(--text-muted);
}

.project-card-action {
    margin-top: auto;
}

.project-card-action .btn {
    width: 100%;
}

/* --- Project Details Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    padding: 1.5rem;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    z-index: 10;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.25rem;
}

.modal-close:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: var(--border-color);
}

.modal-body {
    padding: 3rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.modal-location {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: block;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3rem;
}

.modal-info-panel {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.modal-info-panel h4 {
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modal-meta-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
}

.modal-meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.modal-meta-value {
    font-weight: 600;
    color: var(--text-dark);
}

.modal-gallery {
    margin-top: 2rem;
}

.modal-gallery-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumb.active {
    border-color: var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Careers Page --- */
.careers-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.careers-culture h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.culture-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(217, 118, 93, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.benefit-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.benefit-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.careers-openings h2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.job-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 2rem;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent);
}

.job-details h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-light-alt);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 500;
}

.job-tag-accent {
    background-color: rgba(217, 118, 93, 0.1);
    color: var(--accent);
}

.job-reqs h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.job-reqs ul {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-apply-btn {
    white-space: nowrap;
}

/* --- Form Fields & Design System --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-top: 2.5rem;
}

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

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: rgba(15, 53, 115, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text-box h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-text-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light-alt);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon-whatsapp:hover {
    background-color: #25d366;
}
.social-icon-linkedin:hover {
    background-color: #0077b5;
}
.social-icon-instagram:hover {
    background-color: #e1306c;
}
.social-icon-facebook:hover {
    background-color: #1877f2;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.15);
}

/* Beautiful Floating Label Form */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.form-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 53, 115, 0.1);
}

.form-label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-normal);
    transform-origin: left top;
    background-color: var(--white);
    padding: 0 0.4rem;
}

/* Floating labels effect */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary);
    font-weight: 600;
}

/* Specific styling for selects or files */
.form-control-file-wrapper {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    cursor: pointer;
    background-color: var(--bg-light);
}

.form-control-file-wrapper:hover {
    border-color: var(--accent);
    background-color: rgba(217, 118, 93, 0.02);
}

.form-control-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.file-upload-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.file-upload-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.success-state {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 2rem auto;
}

.success-state h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.success-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Map Showcase CSS / SVG --- */
.map-sec {
    padding: 5rem 0;
}

.map-container {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.map-svg-wrapper {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.map-pin {
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.pin-circle {
    width: 18px;
    height: 18px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 30px;
    height: 30px;
    background-color: rgba(217, 118, 93, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

.pin-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    pointer-events: none;
    background-color: var(--black);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    transition: var(--transition-normal);
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pin-tooltip h5 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.pin-tooltip p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 0.75rem;
}

/* Coordinates mapping approximate */
.pin-dubai {
    top: 49.2%;
    left: 61%;
}

.pin-india {
    top: 62%;
    left: 67.5%;
}

.pin-canada {
    top: 26.4%;
    left: 24.5%;
}

.pin-oman {
    top: 52.9%;
    left: 62%;
}

/* --- News Section & News Page --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.news-img-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #cbd5e1;
}

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

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

.news-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: auto;
}

.news-read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.news-link:hover {
    color: var(--accent);
}

/* --- Testimonials --- */
.testimonials-sec {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-normal);
    text-align: center;
    padding: 0 1rem;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(217, 118, 93, 0.15);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-client {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.client-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* --- Footer --- */
.footer {
    background-color: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2rem 0;
    margin-top: auto;
    font-size: 0.95rem;
    border-top: 5px solid var(--primary);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h3 img {
    height: 45px;
    width: auto;
    background: white;
    padding: 4px;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

.footer-contact-text {
    line-height: 1.5;
}

.footer-contact-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
}

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

/* --- Animations Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 0.1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-graphic {
        display: none; /* Hide graphic on smaller screens to keep layout clean */
    }
    
    .about-grid, .careers-hero-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-visual {
        display: flex;
        justify-content: center;
    }
    
    .about-img-main {
        width: 80%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .job-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .job-tags {
        justify-content: center;
    }
    
    .job-apply-btn {
        margin-top: 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        gap: 1.5rem;
        padding: 3rem 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        transition: var(--transition-normal);
        z-index: 999;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-hero-img {
        height: 220px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.1rem; }
    .hero h1 { font-size: 2.25rem; }
    .page-banner h1 { font-size: 2.25rem; }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-badge {
        padding: 1.5rem;
        bottom: -20px;
        right: 10px;
    }
    
    .about-badge-num {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
}
