/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Color Variables */
:root {
    --main-color: #67B4E4;
    --secondary-color: #4E639D;
    --accent-color: #1C75BC;
    --white-color: #ffffff;
    --black-color: #333333;
    --nav-text-color: #4D5662;
    --text-color: #4D5662;
    --light-gray: #F1F3F8;
    --industrial-navy: #1E2B3D;
}

/* Typography Variables */
:root {
    --text-font-family: "Plus Jakarta Sans";
    --text-font-size: 16px;
    --text-font-weight: 500;
    --text-line-height: 26px;
    --nav-font-family: "Plus Jakarta Sans";
    --nav-font-size: 14px;
    --nav-font-weight: 500;
    --nav-line-height: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-weight);
    line-height: var(--text-line-height);
    color: var(--text-color);
}

img,
video,
canvas,
svg,
obj,
embed {
    max-width: 100%;
    height: auto;
}

header {
    background-color: var(--white-color);
    position: static;
    top: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 45px;
    width: auto;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--nav-text-color);
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--industrial-navy);
}

.cta-button {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-contact-btn {
    display: none;
}

.cta-button:hover {
    background-color: var(--industrial-navy);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    height: 14px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    min-width: 200px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--industrial-navy);
    padding-left: 30px;
}

/* Global Section Headings */
.section-subtitle {
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 54px;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1.3;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Hero */
.hero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../assets/images/hero/background.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-color);
    margin: 0 40px;
    border-radius: 40px;
    overflow: hidden;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero.hero-small {
    height: 400px;
    min-height: 400px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../assets/images/hero/background.jpg');
}

.hero.hero-services {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../assets/images/services/services-human-capital-management-payroll-header-1-2593186272.jpg');
    position: relative;
    overflow: hidden;
}

/* Dynamic hero background image (set via data-content-src -> <img class="hero-bg">) */
.hero.hero-services .hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; filter: brightness(0.6) contrast(1); display:block; }
.hero.hero-services .hero-content { position:relative; z-index:1; }

.hero.hero-services .hero-title,
.hero.hero-about .hero-title {
    color: var(--black-color) !important;
}

.hero.hero-services .section-subtitle,
.hero.hero-services .hero-description,
.hero.hero-about .section-subtitle,
.hero.hero-about .hero-description {
    color: var(--industrial-navy) !important;
}

.hero.hero-home {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../assets/images/hero/hero.jpg');
}

.hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 1;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 84px;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 22px;
    color: var(--black-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-button {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* Services */
.services {
    padding: 0 40px 120px;
    background-color: var(--white-color);
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header .section-title {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    /* Reduced gap slightly */
    width: 100%;
}

.service-card {
    background-color: var(--light-gray);
    padding: 40px 25px;
    /* Reduced horizontal padding */
    border-radius: 30px;
    transition: all 0.4s ease;
    min-width: 0;
    /* Allow the grid item to shrink */
    display: flex;
    flex-direction: column;
}

.service-card:nth-child(even) {
    transform: translateY(60px);
}

.service-card:hover {
    background-color: var(--white-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card:nth-child(odd):hover {
    transform: translateY(-15px);
}

.service-card:nth-child(even):hover {
    transform: translateY(45px);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: var(--black-color);
    line-height: 1.2;
}

.service-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* About Us */
.about-us,
.about-us-page {
    padding: 80px 0;
    background-color: var(--white-color);
}

.about-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.about-content-wrapper {
    display: flex;
    align-items: stretch;
    /* Make children same height */
    width: 100%;
}

.about-image {
    flex: 1;
    border-radius: 0 40px 40px 0;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    background-color: var(--light-gray);
    border-radius: 40px 0 0 40px;
}

.about-header {
    margin-bottom: 30px;
}

.about-description {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 12px; /* reduced to sit neatly above Read More */
    color: var(--text-color);
}

.read-more-link {
    display: inline-block;
    margin-top: 8px;
    color: #7a7a7a;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dotted #d0d0d0;
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.read-more-link:hover {
    color: var(--black-color);
    border-bottom-color: var(--industrial-navy);
}

.about-cards {
    display: flex;
    gap: 30px;
}

.about-card {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 30px;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.about-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--black-color);
}

.about-card-text,
.about-card-list {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-card-list {
    padding-left: 20px;
}

.about-card-list li {
    margin-bottom: 8px;
}

/* About - custom sections */
.about-tagline {
    font-size: 20px;
    font-weight: 800;
    color: var(--industrial-navy);
    margin-top: 10px;
    margin-bottom: 16px;
}

.why-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.why-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.how-we-work-section,
.lead-engineer-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(241,243,248,0.8), rgba(255,255,255,0.8));
    border-radius: 20px;
}

.how-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.how-list li {
    position: relative;
    padding-left: 28px;
}

.how-list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 800;
}

.lead-engineer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lead-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--black-color);
}

.lead-role {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 8px;
}

.lead-bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-content-wrapper {
        flex-direction: column;
    }
    .about-image {
        border-radius: 0 0 40px 40px;
        height: 320px;
    }
    .about-text-content {
        border-radius: 40px 40px 0 0;
        padding: 30px 20px;
    }
    .how-we-work-section,
    .lead-engineer-section {
        padding: 20px;
    }
}

/* Projects */
.projects {
    padding: 120px 40px;
    background-color: #1E2B4B;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 2px, transparent 2px);
    background-size: 60px 60px;
    pointer-events: none;
}

.projects-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.projects-header {
    margin-bottom: 80px;
}

.projects-header .section-title {
    color: var(--white-color);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 100px;
}

.project-item.flipped {
    flex-direction: row-reverse;
}

.project-media {
    flex: 1.2;
}

.project-media img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 40px;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 25px;
}

.project-description {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.project-details {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin: 40px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 18px;
    font-weight: 600;
}

.project-link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--white-color);
    border-bottom-color: var(--main-color);
    padding-left: 10px;
    opacity: 0.8;
}

.projects .cta-button:hover {
    background-color: var(--white-color);
    color: var(--industrial-navy);
}

/* Slogan Section */
.slogan {
    padding: 60px 40px 120px;
    background-color: var(--white-color);
    text-align: center;
}

.slogan-container {
    max-width: 1000px;
    margin: 0 auto;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slogan-text {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--black-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.slogan-divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.slogan:hover .slogan-container {
    transform: scale(1.02);
}

.slogan:hover .slogan-text {
    color: var(--industrial-navy);
}

.slogan:hover .slogan-divider {
    width: 250px;
    background-color: var(--industrial-navy);
}

/* Testimonials - SQUARE */
.testimonials {
    padding: 0;
    background-color: var(--white-color);
}

.testimonials-split-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    align-items: stretch;
}

.testimonials-image-side {
    flex: 1;
}

.testimonials-image-side img {
    width: 100%;
    height: 100%;
    min-height: 750px;
    object-fit: cover;
    border-radius: 0;
}

.testimonials-content-side {
    flex: 1;
    background-color: var(--industrial-navy);
    color: var(--white-color);
    display: flex;
    align-items: flex-start;
    padding: 100px 80px;
    border-radius: 0;
}

.testimonials-inner {
    width: 100%;
}

.testimonials-header {
    text-align: left;
    margin-bottom: 60px;
}

.testimonials-header .section-title {
    color: var(--white-color);
    margin-bottom: 0;
}

.testimonial-entry {
    width: 100%;
}

.entry-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.entry-role {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-color);
    letter-spacing: 1px;
}

.quote-box {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-left: 8px solid var(--main-color);
    border-radius: 0;
    margin-top: 35px;
}

.entry-text {
    font-size: 22px;
    line-height: 1.7;
    font-style: italic;
    opacity: 1;
}

/* Contact - SQUARE */
.contact {
    padding: 0 40px 0;
    /* Removed space below */
    background-color: var(--white-color);
}

.contact-container {
    max-width: 1600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-features {
    list-style: none;
    margin: 40px 0 60px;
}

.contact-features li {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-features li::before {
    content: '';
    width: 25px;
    height: 3px;
    background: var(--accent-color);
}

.contact-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-images img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-side {
    flex: 1.2;
}

.contact-form-card {
    background-color: var(--white-color);
    padding: 80px;
    border-radius: 0;
    color: var(--text-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group label {
    color: var(--black-color);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    opacity: 0.9;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px;
    background: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-radius: 0;
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--main-color);
}

.form-group.full-width {
    grid-column: span 2;
}

.submit-btn {
    grid-column: span 2;
    background-color: var(--industrial-navy);
    color: var(--white-color);
    padding: 22px;
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    letter-spacing: 2px;
}

/* Projects Page Styles */
/* Projects Navigation Dots */

/* Projects Page Styles - Full Screen Vertical Slider */
/* Projects Page Styles - Clean Vertical Flow */
.projects-page {
    background-color: var(--white-color);
}

.projects-container {
    padding-bottom: 0;
}


.project-category {
    min-height: calc(100vh - 100px);
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    background-color: var(--white-color);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

/* Alternate backgrounds for variety */
.project-category:nth-child(even) {
    background-color: var(--light-gray);
}

.category-header {
    margin-bottom: 40px;
    flex-shrink: 0;
}

.project-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    flex-grow: 1;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}



.project-link-card {
    background-color: var(--light-gray);
    padding: 0;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    overflow: hidden;
    position: relative;
    height: 400px;
}

.project-link-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card-image-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-link-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    height: 100%;
}

.project-link-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

.project-link-card .card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.project-link-card .project-link {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    align-self: flex-start;
    font-weight: 700;
}

.project-link-card .project-link:hover {
    color: var(--white-color);
    border-bottom-color: var(--white-color);
}



@media (max-width: 768px) {
    .project-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal gallery thumbnails: responsive grid that spans full width and sizes images based on count */
#modalGallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 12px;
}
#modalGallery img {
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.15s ease, transform 0.12s ease;
    object-fit: cover;
    width: auto; /* width will be set dynamically per-image */
    height: auto; /* height will be set dynamically per-image */
    min-width: 80px;
}
#modalGallery img:hover { border-color: rgba(255,255,255,0.25); transform: scale(1.02); }
#modalGallery img.selected { border-color: var(--main-color); }

/* Footer - LIGHT MODERN */
.main-footer {
    padding: 60px 40px;
    background-color: var(--light-gray);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 80px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 30px;
}

.social-links-grid {
    display: flex;
    gap: 15px;
    list-style: none;
}

.social-links-grid img {
    width: 28px;
    transition: 0.3s;
    opacity: 0.7;
}

.social-links-grid a:hover img {
    transform: translateY(-5px);
    opacity: 1;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--black-color);
    letter-spacing: 1px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-link {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--black-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--industrial-navy);
    padding-left: 5px;
}

.badge {
    font-size: 10px;
    background: var(--accent-color);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.6;
}

.admin-link {
    font-size: 11px;
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

.legal-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.legal-links a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--black-color);
}

.back-to-top a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.back-to-top a:hover {
    color: var(--black-color);
}

html {
    scroll-behavior: smooth;
}


/* Back to Top Button */
.back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--black-color);
    color: var(--white-color);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.show {
    display: flex;
}

/* Floating Phone Button */
.floating-phone {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10001;
    background-color: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(28, 117, 188, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--white-color);
}

.floating-phone.show {
    display: flex;
    animation: bounceIn 0.6s both;
}

.floating-phone img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.floating-phone:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: var(--black-color);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.about-us-page {
    padding: 60px 40px;
    background-color: var(--white-color);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

/* Services Page Styles */
.services-page {
    padding: 120px 40px;
    background-color: var(--white-color);
}

.service-detail-section {
    max-width: 1600px;
    margin: 0 auto 120px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-detail-card {
    background-color: var(--light-gray);
    padding: 60px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    background-color: var(--white-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.service-detail-card .card-header {
    margin-bottom: 35px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 12px 0;
    font-size: 17px;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-link {
    display: inline-block;
    color: var(--black-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover::after {
    width: 100%;
}

.outputs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 60px;
    background-color: var(--industrial-navy);
    border-radius: 60px;
    color: var(--white-color);
}

.outputs-section .section-title {
    color: var(--white-color);
}

.outputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.output-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.output-dot {
    width: 10px;
    height: 10px;
    background-color: var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.output-item p {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}


/* Brochure Section */
.brochure-section {
    padding: 120px 40px;
    background-color: var(--white-color);
    position: relative;
    border-top: 1px solid var(--light-gray);
}

/* Alternate brochure uses a subtle gray background for visual distinction */
.brochure-section.duplicate {
    background-color: var(--light-gray);
}
.brochure-section.duplicate .brochure-content {
    color: var(--black-color);
}

.brochure-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.brochure-content {
    flex: 1;
    max-width: 600px;
}

.brochure-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--black-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.brochure-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

.brochure-cta-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    opacity: 0.8;
}

.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--industrial-navy);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 43, 61, 0.3);
}

.brochure-btn:hover {
    background-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 43, 61, 0.4);
    color: white;
}

.brochure-btn .icon {
    font-size: 20px;
}

.brochure-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.duplicate .brochure-image-wrapper {
    justify-content: center;
}

.illustration-placeholder {
    width: 400px;
    height: 400px;
    background-color: var(--light-gray);
    border-radius: 50%;
    /* Circular background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.illustration-placeholder img {
    width: 100%;
    height: 100%;
    /* Use cover so zooming crops naturally and looks intentional */
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), filter 0.35s ease;
    transform-origin: center center;
    /* Default: slightly zoomed-in */
    transform: scale(1.12);
}

.illustration-placeholder:hover img {
    /* Hover: zoom out to show more of the image */
    transform: scale(1);
    filter: none;
}


/* Contact Page New Sections */
.section-title-only {
    padding: 120px 0 40px;
    text-align: center;
    background-color: var(--secondary-color);
}

.projects-body .main-footer {
    scroll-snap-align: start;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title-only .section-subtitle {
    color: var(--white-color);
    opacity: 0.8;
}

.section-title-only .section-title {
    color: var(--white-color);
    margin: 0 auto;
}

.call-section {
    padding: 60px 40px 80px;
    text-align: center;
    background-color: var(--white-color);
}

.call-section .section-title {
    font-size: 32px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.call-button-large {
    font-size: 24px;
    padding: 15px 50px;
    display: inline-block;
    border-radius: 50px;
    margin-bottom: 25px;
    min-width: 300px;
    /* Removed flex column styles since icon is outside */
}

/* New Big Icon Styles */
.call-icon-link {
    display: inline-block;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.call-icon-link:hover {
    transform: scale(1.1);
}

.call-icon-primary {
    width: 80px;
    height: 80px;
    object-fit: contain;
    /* Original color (dark) should work on white bg */
}

.call-subtext {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-color);
}

.contact-simple {
    padding: 0 40px 120px;
}

.contact-simple-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-simple .contact-form-card {
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-simple .contact-form-card .submit-btn {
    width: 100%;
    margin-top: 20px;
}

/* Modal CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--white-color);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: var(--white-color);
    background: var(--industrial-navy);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: 500;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    line-height: 1;
    padding-bottom: 5px; /* Offset for optical centering */
}

.close-modal:hover {
    background: var(--accent-color);
    transform: scale(1.05); /* Subtle scale instead of spin */
}

.modal-header-image {
    width: 100%;
    height: 300px;
    background-color: var(--industrial-navy);
    position: relative;
}

.modal-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.modal-body {
    padding: 40px;
}

.modal-category {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--black-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.modal-info-item h4 {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 5px;
}

.modal-info-item p {
    font-size: 18px;
    font-weight: 600;
    color: var(--black-color);
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Loading States & Layout Stability */
.projects-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.projects-container {
    flex-grow: 1;
}

/* Skeleton Loader shimmer animation */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton-card {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.5s infinite linear forward;
    border-radius: 8px;
    height: 300px;
    width: 100%;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Fade in for dynamic content */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.project-link-card, .project-item {
    animation: fadeIn 0.6s ease-out forwards;
}
