/* =========================
   FAHARITEK SOLUTIONS
   FULL MAIN STYLESHEET
========================= */

:root {
    --primary-dark: #061b63;
    --primary-blue: #0a36a8;
    --accent-cyan: #22b8f0;
    --accent-green: #43d62c;
    --light-bg: #f5f9ff;
    --text-dark: #1b2440;
    --text-light: #6c7894;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(6, 27, 99, 0.12);
    --radius: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   TOP BAR
========================= */

.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue));
    color: var(--white);
    font-size: 14px;
    padding: 10px 0;
}

.top-contact span,
.top-text {
    opacity: 0.95;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-right: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-subtitle {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.navbar-nav .nav-link {
    color: var(--primary-dark);
    font-weight: 600;
    margin-left: 10px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-green);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 20px);
}

.custom-toggler {
    border: 1px solid rgba(6, 27, 99, 0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================
   BUTTONS
========================= */

.btn-brand {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    color: var(--white);
    border: none;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(34, 184, 240, 0.18);
}

.btn-brand:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 27, 99, 0.18);
}

.btn-outline-brand {
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    background: transparent;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: var(--accent-green);
    color: var(--white);
}

/* =========================
   GENERAL SECTIONS
========================= */

.section-padding {
    padding: 90px 0;
}

.section-title span {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.section-text {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 12px;
}

.section-subtext {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* HERO WATERMARK LOGO */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: 420px;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.hero-logo-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ensure content stays above watermark */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

@media (max-width: 991px) {
    .hero-logo-bg {
        width: 300px;
        right: 50%;
        top: 52%;
        transform: translate(50%, -50%);
        opacity: 0.07;
    }
}

@media (max-width: 767px) {
    .hero-logo-bg {
        width: 220px;
        opacity: 0.06;
    }
}

/* =========================
   HOME HERO
========================= */

/*.hero-section {
    min-height: 100vh;
    position: relative;
    /*background-image: url('../images/hero-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}*/

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(6, 27, 99, 0.92),
        rgba(10, 54, 168, 0.80),
        rgba(34, 184, 240, 0.35)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(67, 214, 44, 0.15);
    border: 1px solid rgba(67, 214, 44, 0.45);
    color: #d8ffd1;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 650px;
    margin-bottom: 25px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
}

.highlight-box h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 800;
}

.highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-logo-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: var(--shadow);
}

.hero-logo {
    width: 180px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.hero-logo-card h3 {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-logo-card p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
    position: relative;
    padding: 120px 0;
    color: var(--white);
    overflow: hidden;
}

.about-hero,
.services-hero,
.projects-hero,
.contact-hero {
    background: url('../images/hero-bg.png') center center/cover no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(6, 27, 99, 0.90),
        rgba(10, 54, 168, 0.78),
        rgba(34, 184, 240, 0.35)
    );
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-tag {
    display: inline-block;
    background: rgba(67, 214, 44, 0.15);
    border: 1px solid rgba(67, 214, 44, 0.45);
    color: #d8ffd1;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 0.95rem;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
}

/* =========================
   INFO CARDS / ABOUT PREVIEW
========================= */

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 20px;
    box-shadow: var(--shadow);
    border-bottom: 4px solid transparent;
    transition: 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--accent-green);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.info-card p {
    margin: 0;
    color: var(--text-light);
}

/* =========================
   SERVICES CARDS - HOME
========================= */

.services-section {
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-cyan);
}

.service-icon {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =========================
   WHY CHOOSE US
========================= */

.reason-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.reason-card p {
    color: var(--text-light);
    margin: 0;
}

/* =========================
   FEATURED PROJECTS - HOME
========================= */

.featured-projects-section {
    background: var(--light-bg);
}

.featured-project-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    height: 100%;
}

.featured-project-card:hover {
    transform: translateY(-8px);
}

.featured-project-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.featured-project-content {
    padding: 22px 20px;
}

.featured-project-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.featured-project-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.featured-project-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =========================
   ABOUT PAGE
========================= */

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
    min-height: 420px;
}

.about-core-section {
    background: var(--light-bg);
}

.about-core-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.about-core-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-green);
}

.about-core-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.about-core-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.about-core-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.about-feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.about-feature-check {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-top: 2px;
}

.about-feature-item h5 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.about-feature-item p {
    color: var(--text-light);
    margin: 0;
}

.about-side-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-blue));
    border-radius: 24px;
    padding: 35px 28px;
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-side-card h3 {
    font-weight: 800;
    margin-bottom: 22px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.expertise-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 14px;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
}

.about-stats-section {
    background: linear-gradient(90deg, #eef6ff, #f8fcff);
}

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.stat-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-card p {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

/* =========================
   SERVICES PAGE
========================= */

.services-detail-section {
    padding: 20px 0 90px;
    background: var(--light-bg);
}

.service-detail-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 30px 24px;
    height: 100%;
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-green);
}

.service-detail-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.service-detail-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.service-detail-card p {
    color: var(--text-light);
    margin-bottom: 14px;
}

.service-detail-card ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.service-detail-card ul li {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-process-section {
    padding: 90px 0;
    background: linear-gradient(90deg, #eef6ff, #f8fcff);
}

.process-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
}

.process-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
}

.process-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =========================
   PROJECTS PAGE
========================= */

.projects-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    border: none;
    background: #eaf3ff;
    color: var(--primary-dark);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    color: var(--white);
}

.project-real-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    height: 100%;
}

.project-real-card:hover {
    transform: translateY(-8px);
}

.project-image-wrap {
    position: relative;
    overflow: hidden;
}

.project-gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-real-card:hover .project-gallery-img {
    transform: scale(1.06);
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(6, 27, 99, 0.85);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.zoom-btn:hover {
    background: var(--accent-green);
}

.project-content {
    padding: 20px;
}

.project-type {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 10px 0;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.project-item.hide {
    display: none;
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 30px;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-cyan);
}

.contact-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 14px;
}

.contact-card a,
.contact-card span {
    color: var(--primary-blue);
    font-weight: 700;
    word-break: break-word;
}

.contact-office-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.office-info-box {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 35px 28px;
    height: 100%;
}

.office-tag {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.office-info-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.office-info-box p {
    color: var(--text-light);
    margin-bottom: 14px;
}

.office-list {
    margin-top: 25px;
    display: grid;
    gap: 14px;
}

.office-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7fbff;
    border: 1px solid rgba(6, 27, 99, 0.06);
}

.office-item strong {
    color: var(--primary-dark);
}

.office-item span {
    color: var(--text-light);
    text-align: right;
}

.office-side-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-blue));
    border-radius: 24px;
    padding: 35px 28px;
    color: var(--white);
    box-shadow: var(--shadow);
    height: 100%;
}

.office-side-card h3 {
    font-weight: 800;
    margin-bottom: 24px;
}

.hours-list {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-item span {
    color: rgba(255, 255, 255, 0.86);
}

.hours-item strong {
    color: var(--white);
    text-align: right;
}

.location-note-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 45px 30px;
}

.location-note-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.location-note-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =========================
   CTA
========================= */

.cta-section {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue), var(--accent-cyan));
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* =========================
   FOOTER
========================= */

.footer-section {
    background: #07133f;
    color: rgba(255, 255, 255, 0.44);
    padding: 70px 0 25px;
}

.footer-logo {
    width: 120px;
    object-fit: contain;
}

.footer-heading {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.78);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 4px;
}

.footer-line {
    border-color: rgba(255, 255, 255, 0.14);
    margin: 35px 0 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.whatsapp-btn:hover {
    color: var(--white);
    transform: scale(1.08);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-title,
    .page-hero h1 {
        font-size: 2.3rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar-nav .nav-link::after {
        left: 0;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 60px;
    }

    .info-card-grid,
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero {
        padding: 90px 0;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }

    .top-text {
        margin-top: 5px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .hero-title,
    .page-hero h1,
    .section-title h2,
    .cta-section h2,
    .office-info-box h2,
    .location-note-box h2 {
        font-size: 1.9rem;
    }

    .hero-text,
    .page-hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 65px 0;
    }

    .info-card-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 140px;
    }

    .about-main-image {
        min-height: auto;
    }

    .project-gallery-img,
    .featured-project-image img {
        height: 220px;
    }

    .office-item,
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .office-item span,
    .hours-item strong {
        text-align: left;
    }
}

/* =========================
   FINAL CSS IMPROVEMENTS
========================= */

/* Better scrolling */
html {
    scroll-behavior: smooth;
}

/* Safer media sizing */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Slightly smoother hover transitions */
.service-card,
.info-card,
.reason-card,
.featured-project-card,
.project-real-card,
.contact-card,
.about-core-card,
.process-card,
.stat-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Improve button consistency */
.btn,
.btn-brand,
.btn-outline-brand {
    transition: all 0.3s ease;
}

.btn:focus,
.btn-brand:focus,
.btn-outline-brand:focus,
.filter-btn:focus,
.zoom-btn:focus,
.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(34, 184, 240, 0.25);
}

/* Better text balance */
.hero-title,
.page-hero h1,
.section-title h2,
.cta-section h2 {
    text-wrap: balance;
}

/* Cleaner paragraph width in large sections */
.section-text,
.section-subtext,
.hero-text,
.page-hero p {
    word-wrap: break-word;
}

/* Improve footer readability */
.footer-section {
    color: rgba(255, 255, 255, 0.88);
}

/* Make footer links and text align nicely on small screens */
.footer-section .col-lg-4 {
    margin-bottom: 10px;
}

/* Better WhatsApp behavior on very small screens */
@media (max-width: 480px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 14px;
        font-size: 1.25rem;
    }
}

/* =========================
   MOBILE IMPROVEMENTS
========================= */

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 0.95rem !important;
    }

    .hero-logo-card {
        margin-top: 20px;
        padding: 20px 16px;
    }

    .section-title h2 {
        font-size: 1.6rem !important;
    }

    .section-subtext {
        font-size: 0.92rem;
    }

    .service-card,
    .featured-project-card,
    .project-real-card,
    .contact-card,
    .about-core-card,
    .process-card,
    .reason-card,
    .info-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-section {
        text-align: center;
    }

    .top-bar {
        text-align: center;
    }

    .hero-buttons .btn,
    .quick-contact-buttons .btn,
    .btn-brand,
    .btn-outline-brand {
        width: 100%;
        margin-right: 0 !important;
    }

    .hero-buttons .btn + .btn {
        margin-top: 10px;
    }

    .brand-text {
        max-width: 140px;
    }

    .brand-subtitle {
        letter-spacing: 1px;
    }
}

/* =========================
   SECTION SPACING REFINEMENT
========================= */

.section-padding {
    padding: 60px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* =========================
   CARD IMAGE IMPROVEMENTS
========================= */

.featured-project-image img,
.project-gallery-img,
.about-main-image {
    object-fit: cover;
    width: 100%;
}

/* Slightly cleaner project content spacing */
.project-content h3,
.featured-project-content h4 {
    line-height: 1.3;
}

/* Improve filter button wrap on smaller devices */
.project-filters {
    row-gap: 10px;
}

/* Prevent long words from breaking layout */
.project-content p,
.featured-project-content p,
.contact-card a,
.office-item span,
.footer-text {
    overflow-wrap: anywhere;
}
/* =========================
   HERO SLIDER
========================= */

.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        120deg,
        rgba(6, 27, 99, 0.90),
        rgba(10, 54, 168, 0.78),
        rgba(34, 184, 240, 0.30)
    );
}

/* Watermark logo inside hero */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    width: 420px;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.hero-logo-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hero content above slider */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(67, 214, 44, 0.15);
    border: 1px solid rgba(67, 214, 44, 0.45);
    color: #d8ffd1;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 650px;
    margin-bottom: 25px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
}

.highlight-box h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 800;
}

.highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-logo-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: var(--shadow);
}

.hero-logo {
    width: 180px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.hero-logo-card h3 {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-logo-card p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* =========================
   RESPONSIVE HERO
========================= */

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-logo-bg {
        width: 300px;
        right: 50%;
        top: 52%;
        transform: translate(50%, -50%);
        opacity: 0.07;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-logo-card {
        margin-top: 20px;
        padding: 20px 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }

    .hero-buttons .btn + .btn {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .hero-logo-bg {
        width: 220px;
        opacity: 0.06;
    }

    .hero-logo {
        width: 140px;
    }
}