/*
Theme Name: Phuensum Builders
Theme URI: https://phuensumbuilders.com
Author: Phuensum Builders Team
Author URI: https://phuensumbuilders.com
Description: Premium WordPress theme for Phuensum Builders - Construction & Architecture firm in Bhutan.
Version: 1.0.6
*/

/* 
    Phuensum Builders - Premium Design System
    Theme: Architectural Minimalist with Royal Red Accents
*/

:root {
    /* Color Palette */
    --primary-color: #7d1523;
    /* Updated Brand Deep Red */
    --secondary-color: #1a1a1a;
    /* Dark Charcoal */
    --accent-color: #c48c74;
    /* Warm Tan/Bronze */
    --text-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #888888;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Didact Gothic', sans-serif;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.nav-links a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

ul {
    list-style: none;
}

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

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

section {
    padding: 100px 0;
    position: relative;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--primary-color);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
    padding: 10px 30px;
    font-size: 11px;
    letter-spacing: 3px;
}

.btn-outline-white:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-view-more {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-view-more:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Section Shared */
.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
}

.section-title span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Side Bar */
.side-bar {
    position: absolute;
    left: 40px;
    bottom: 40px;
    top: auto;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.side-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.side-social a {
    color: #fff;
    font-size: 14px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.side-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: scale(1.1);
}


/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    padding: 0;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    background-color: transparent;
}

#main-header .container-fluid {
    width: 100% !important;
    flex: 1 !important;
    display: flex !important;
}

#main-header .header-nav {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 40px !important;
}

.logo-sticky {
    display: none;
}

#main-header.scrolled {
    height: 80px !important;
    background: var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
}

#main-header.hidden-by-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s;
}

#main-header.scrolled .logo-text h1,
#main-header.scrolled .logo-text p {
    color: #000;
}

#main-header.scrolled .menu-trigger {
    color: #000;
}

#main-header.scrolled .hamburger span {
    background: #000;
}

#main-header.scrolled .hamburger .line-3 {
    background: var(--primary-color);
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo img {
    height: 70px;

}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: -5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text p {
    font-size: 9px;
    color: #fff;
    opacity: 0.8;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Hero Section */
#hero {
    height: 100vh;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Darker overlay for better readability */
}

.hero-slide.active {
    opacity: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 60px;
}

.hero-content h1 {
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.hero-nav div {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.hero-nav div:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* About Section */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/image/pattern_bg.jpg');
    background-size: 800px;
    background-position: center left;
    opacity: 0.15;
    /* Increased opacity from 0.08 */
    pointer-events: none;
    z-index: 0;
}

#about .container {
    position: relative;
    z-index: 1;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-img {
    position: relative;
    overflow: hidden;
    /* Clips the image zoom */
}

.about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-img:hover img {
    transform: scale(1.08);
}

.office-box {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--bg-white);
    padding: 30px 60px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.office-box span {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-weight: 600;
}

/* Sister Companies */
#sister-companies {
    position: relative;
    background-color: #fafafa;
    background-image: url('assets/image/logo.png');
    background-size: 600px;
    background-position: center right -100px;
    background-repeat: no-repeat;
    opacity: 1;
}

#sister-companies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.94);
    /* Overlay to create watermark effect */
    z-index: 0;
}

#sister-companies .container {
    position: relative;
    z-index: 1;
}

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

.sister-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 60px 40px;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sister-card img {
    max-height: 120px;
    /* Further increased size */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.sister-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

.sister-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.sister-index {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: #eee;
}

.sister-logo img {
    height: 60px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.sister-card:hover .sister-logo img {
    filter: grayscale(0);
    opacity: 1;
}

.sister-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sister-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.sister-link {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Showcase / Stats */
#showcase {
    position: relative;
    background-color: #fafafa;
    background-image: url('assets/image/pattern_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    padding: 140px 0;
    overflow: hidden;
}

#showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.50);
    z-index: 0;
}

.showcase-bg-text {
    display: none;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    /* Decreased width */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.kinetic-item {
    background: rgba(255, 255, 255, 0.9);
    /* Glassy background */
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border: 1px solid #eef1f4;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.kinetic-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.kinetic-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.kinetic-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
}

.kinetic-label {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
}

.kinetic-beam {
    width: 60%;
    height: 3px;
    background: #f0f0f0;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.beam-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    /* JS will fill this */
    transition: width 1.5s ease-out;
}

.kinetic-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #777;
    font-weight: 300;
}

.story-tag {
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 5px;
    display: block;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 13px;
    opacity: 0.8;
}

.story-title {
    font-size: 3.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 700;
    color: var(--secondary-color);
}

.story-text {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 450px;
}

.story-image-stack {
    position: relative;
    margin-top: 50px;
}

.stack-item.main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 12px solid #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.stack-item.secondary {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 48%;
    z-index: 5;
}

.stack-item.secondary img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 12px solid #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Services Section Redesign */
#services {
    background: #fff;
    padding: 140px 0;
    position: relative;
    border-top: 1px solid #f0f0f0;
}

#services .section-title {
    font-size: 2.8rem;
    color: var(--secondary-color);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

#services .section-title span {
    color: var(--primary-color);
    /* Muted gold/brown from sample */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
}

.service-card {
    padding: 80px 50px;
    position: relative;
    border-right: 1px solid #f0f0f0;
    transition: background 0.4s ease;
    overflow: hidden;
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: #f9f9f9;
}

.service-icon-box {
    margin-bottom: 35px;
}

.service-icon-box img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: sepia(0.5) hue-rotate(10deg) saturate(0.8);
    /* Match icon color */
}

.service-content h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.service-content .line {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 35px;
}

.service-content p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 280px;
}

.service-number {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #a68b6d;
    opacity: 0.15;
    pointer-events: none;
    line-height: 1;
}

/* Portfolio */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed from flex-end */
    margin-bottom: 30px;
    /* Reduced to move button up */
}

.section-header .section-title {
    margin-bottom: 0;
    /* Align with button */
}

.portfolio-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* Slightly tighter gap */
}

.portfolio-item {
    position: relative;
    height: 580px;
    /* Increased height */
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    /* Always visible */
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

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

.category {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
}

.project-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .project-arrow {
    opacity: 1;
    transform: translateY(0);
}

.project-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination-squares {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.square {
    width: 10px;
    height: 10px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.square.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

.news-item {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 400px;
    overflow: hidden;
}

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

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

.news-content-card {
    background: #fff;
    padding: 40px;
    width: 90%;
    margin-top: -60px;
    margin-left: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.news-date {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.news-content-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 400;
}

.news-btns {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Promo & Brand Strip */
#promo {
    padding: 150px 0 0 0;
    background: var(--bg-light);
}

.promo-video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.promo-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.brand-strip {
    background: #fff;
    padding: 60px 0;
    overflow: hidden;
}

.brand-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brand-grid {
    display: flex;
    align-items: center;
    gap: 100px;
    animation: brandSlide 25s linear infinite;
    width: max-content;
    will-change: transform;
}

.brand-slider:hover .brand-grid {
    animation-play-state: paused;
}

@keyframes brandSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
}

.brand-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #fff;
    padding: 100px 0 50px 0;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 80px;
    border-bottom: 1px solid #eee;
}

.footer-contact-col h4 {
    color: var(--primary-color);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-contact-col p {
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-bottom {
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 12px;
    color: var(--text-muted);
}

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

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

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

.footer-legal a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations (Classes to be toggled by JS) */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.95);
}

.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}



/* Responsive rules have been moved to the bottom of the file */
#main-header.scrolled .logo-text h1,
#main-header.scrolled .logo-text p {
    color: var(--secondary-color);
}

/* Menu Trigger */
.menu-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
    margin-left: auto;
}

.menu-trigger span {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 500;
}

.hamburger {
    width: 35px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.hamburger span {
    height: 1px;
    background: currentColor;
    transition: var(--transition);
}

.hamburger .line-1 {
    width: 25px;
}

.hamburger .line-2 {
    width: 35px;
}

.hamburger .line-3 {
    width: 35px;
    background: var(--primary-color) !important;
}

/* Full Menu Overlay */
.full-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/image/Dumra.jpg');
    background-size: cover;
    background-position: center;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease, visibility 0.8s;
}

.full-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


.menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

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

.nav-links li {
    margin-bottom: 25px;
}

.nav-links a {
    font-size: 16px;
    color: #fff;
    opacity: 0.5;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary-color);
    letter-spacing: 5px;
}

@media (max-width: 768px) {
    .menu-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .nav-links a {
        font-size: 20px;
        padding: 10px 0;
        display: block;
    }
}

/* Sub-menu Styling */
.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 10px;
    padding-left: 0;
}

.has-submenu:hover .sub-menu {
    max-height: 200px;
}

.has-submenu a i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has-submenu:hover a i {
    transform: rotate(180deg);
}

.sub-menu li {
    margin-bottom: 10px !important;
}

.sub-menu li a {
    font-size: 14px !important;
    letter-spacing: 2px !important;
    opacity: 0.7 !important;
}

.sub-menu li a:hover {
    opacity: 1 !important;
    color: var(--primary-color) !important;
}

.menu-footer {
    width: 100%;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0 20px;
    line-height: 1.8;
}

/* Final Header Layout Overrides */
#main-header .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
    display: block !important;
}

#main-header .header-nav {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 40px !important;
}

.menu-trigger {
    margin-left: 0 !important;
}

.logo-sticky {
    display: none !important;
}

/* =========================================
   RESPONSIVE BREAKPOINTS 
   ========================================= */

/* 1. Laptops/Small Desktops (< 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

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

    .about-wrapper {
        gap: 60px;
    }

    .showcase-bg-text {
        font-size: 15rem;
        /* Prevent horizontal scrolling */
    }

    .services-grid,
    .portfolio-grid,
    .sister-grid {
        gap: 20px;
    }

    .brand-grid {
        gap: 50px;
    }

    .news-content-card {
        margin-left: -20px;
        width: 100%;
        margin-top: 20px;
    }
}

/* 2. Tablets (< 992px) */
@media (max-width: 992px) {
    section {
        padding: 100px 0;
    }

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

    /* Convert 3-column to 2-column */
    .services-grid,
    .portfolio-grid,
    .sister-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Structures that go straight to 1 column */
    .about-wrapper,
    .showcase-container,
    .footer-contact-grid,
    .kinetic-grid {
        grid-template-columns: 1fr;
    }

    .showcase-bg-text {
        font-size: 10rem;
    }

    /* Mobile specific showcase improvements */
    .kinetic-item {
        padding: 30px 25px;
        margin-bottom: 20px;
    }

    .kinetic-number {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .kinetic-label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .kinetic-beam {
        width: 80%;
        margin: 15px 0;
    }

    .kinetic-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .showcase-container {
        gap: 40px;
        padding: 0 15px;
    }

    .side-bar {
        display: none;
        /* Hide sidebar entirely on tablets */
    }

    #main-header {
        left: 0;
        /* Expand header if sidebar is gone */
    }

    .brand-item img {
        height: 60px;
    }
}

/* 3. Mobile Phones (< 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
        /* Save vertical space */
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    #main-header .header-nav {
        padding: 0 20px !important;
    }

    .header-logo img {
        height: 50px;
    }

    .logo-text {
        display: none;
    }

    /* Collapse everything to 1 column */
    .services-grid,
    .portfolio-grid,
    .sister-grid,
    .news-grid,
    .kinetic-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        height: 400px;
    }

    .news-img {
        height: 250px;
    }

    .news-content-card {
        width: 90%;
        margin-left: 5%;
        padding: 20px;
        margin-top: -40px;
    }

    .showcase-bg-text {
        font-size: 6rem;
        letter-spacing: -2px;
    }

    #showcase {
        padding: 60px 0;
    }

    /* Enhanced mobile showcase styles */
    .kinetic-item {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .kinetic-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .kinetic-label {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .kinetic-beam {
        width: 90%;
        margin: 10px 0;
    }

    .kinetic-desc {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-top: 10px;
    }

    .showcase-container {
        gap: 30px;
        padding: 0 10px;
    }

    /* Story section mobile responsiveness */
    .showcase-story {
        padding: 40px 0;
    }

    .story-content {
        padding: 0 15px;
    }
.story-tag {
    font-size: 9px; /* Reduced from 10px */
    letter-spacing: 1px;
    margin-bottom: 12px; /* Tighter spacing */
}

.story-title {
    font-size: 2rem; /* Reduced from 2rem */
    line-height: 1.2;
    margin-bottom: 15px; /* Reduced spacing */
}

.story-text {
    font-size: 0.9rem; /* Reduced from 0.95rem */
    line-height: 1.4; /* Slightly tighter */
    margin-bottom: 25px; /* Reduced spacing */
}
    .story-image-stack {
    gap: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    /* Show images one by one instead of stacked */
}

.stack-item {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    /* Each image takes full width */
}

.stack-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
}

.stack-item.secondary {
    margin-top: 0;
    /* Remove stacking effect - show as separate image */
}

    .stats-item h3 {
        font-size: 2.5rem;
    }

    .brand-item img {
        height: 40px;
    }

    .brand-grid {
        gap: 40px;
    }

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

    .promo-video-wrapper {
        padding-bottom: 75%;
        /* More square ratio for mobile promo */
    }
}

/* Inner Pages Shared */
.inner-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 100px;
}

.inner-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
}

.inner-hero-content .subtitle {
    display: block;
    font-family: var(--font-heading);
    letter-spacing: 5px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.inner-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.inner-hero-content h1 span {
    color: #fff;
    font-weight: 300;
}

.breadcrumb {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.breadcrumb span {
    opacity: 0.6;
}

/* About Story Section Redesign */
.about-story {
    position: relative;
    background-color: #fafafa;
    background-image: url('assets/image/pattern_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    overflow: hidden;
}

.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

.about-story-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 50px;
}

.history-detail {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.history-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 30px;
    text-align: justify;
    font-weight: 300;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.years-box {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary-color);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 10px 10px 40px rgba(125, 21, 35, 0.3);
}

.years-box .number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.years-box .text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.story-text h2 {
    margin-bottom: 30px;
}

.story-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mv-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mv-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 60px 40px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.value-card .icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

.value-card:hover .icon {
    transform: scale(1.15);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.9rem;
    color: #777;
}

/* CTA Box */
.cta-box {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/image/GMC.jpg');
    background-repeat: no-repeat;

    background-size: cover;
    background-position: center;
    padding: 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Responsive for Inner Pages */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .inner-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 60px 20px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .years-box {
        right: 0;
    }
}

/* Projects Page Specific */
.projects-container {
    padding: 120px 0;
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    color: var(--text-muted);
}

/* News & Events Page Styles */
.news-archive {
    padding: 100px 0;
    background: #fcfcfc;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.news-card-alt {
    position: relative;
    transition: var(--transition);
}

.news-card-alt .image {
    height: 400px;
    overflow: hidden;
    margin-bottom: 25px;
}

.news-card-alt .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.news-card-alt .date {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-card-alt h3 {
    font-size: 1.2rem;

    line-height: 1.3;
    font-weight: 400;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .news-archive-grid {
        gap: 40px;
    }

    .news-card-alt h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* Modernized Process Flow Redesign v3 */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-flow-v3 {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 20px 0;
}

.process-v3-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    z-index: 1;
}

.process-item-v3 {
    width: 100%;
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.process-item-v3:nth-child(even) {
    flex-direction: row-reverse;
}

.v3-content {
    width: 42%;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.v3-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.v3-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.v3-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.v3-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    position: relative;
    z-index: 3;
}

.v3-number::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    top: -11px;
    left: -11px;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .process-v3-line {
        left: 40px;
    }

    .process-item-v3,
    .process-item-v3:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
        gap: 30px;
    }

    .v3-content {
        width: calc(100% - 100px);
        padding: 30px;
    }

    .v3-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active::after {
    width: 100%;
}

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

.project-card {
    height: 500px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
}

.project-card-overlay .cat {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
}

.project-card-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-meta-info {
    display: flex;
    gap: 20px;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.project-meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-details-btn {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-card:hover .project-details-btn {
    opacity: 1;
    transform: translateY(0);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Careers Page Styles */
.careers-info {
    padding: 120px 0;
}

/* Job List Redesign (Sample-based) */
.career-row-list {
    margin-top: 60px;
}

.job-row-sample {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 0.8fr 1fr 0.3fr;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.job-row-sample:hover {
    background: #fdfdfd;
    padding-left: 20px;
}

.job-row-sample:hover .job-arrow {
    transform: translate(5px, -5px);
    color: var(--primary-color);
}

.job-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.job-info .dept {
    font-size: 0.9rem;
    color: #999;
}

.job-meta-box .label {
    display: block;
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 5px;
}

.job-meta-box .value {
    font-size: 1rem;
    color: #444;
}

.job-arrow {
    text-align: right;
    font-size: 1.2rem;
    color: #ddd;
    transition: var(--transition);
}

.btn-tor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    background: transparent;
}

.btn-tor:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 992px) {
    .job-row-sample {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 100px 40px;
    }
}

@media (max-width: 768px) {
    .job-row-sample {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }

    .job-arrow {
        display: none;
    }
}

.career-card .meta {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.career-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}


/* Contact Styles */
.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 120px 0;
}

.contact-form-wrap h2 {
    margin-bottom: 40px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid #eee;
    background: #fdfdfd;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
}

.contact-info-wrap .info-item {
    margin-bottom: 40px;
}

.contact-info-wrap .info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-info-wrap .info-item p {
    font-size: 1.1rem;
    color: #444;
}

.contact-map {
    height: 400px;
    background: #eee;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-archive-grid,
    .contact-grid-main,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .career-grid {
        grid-template-columns: 1fr;
    }
}

/* Sample Style Service Cards */
.service-grid-sample {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.service-card-sample {
    padding: 60px 40px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
    transition: all 0.5s ease;
    background: #fff;
    min-height: 450px;
}

.service-card-sample:last-child {
    border-right: none;
}

.service-card-sample:hover {
    background: #f9f9f9;
}

.service-card-sample .icon-sample {
    margin-bottom: 30px;
}

.service-card-sample .icon-sample i,
.service-card-sample .icon-sample img {
    font-size: 3rem;
    color: var(--accent-color);
    width: auto;
    height: 50px;
    object-fit: contain;
}

.service-card-sample h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 400;
}

.service-card-sample .separator {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin-bottom: 30px;
}

.service-card-sample p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    max-width: 90%;
}

.service-card-sample .number-ghost {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: #f0f0f0;
    font-weight: 700;
    transition: color 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card-sample:hover .number-ghost {
    color: #e0e0e0;
}

@media (max-width: 992px) {
    .service-grid-sample {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-sample:nth-child(2n) {
        border-right: none;
    }

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

@media (max-width: 768px) {
    .service-grid-sample {
        grid-template-columns: 1fr;
    }

    .service-card-sample {
        border-right: none;
        padding: 40px 20px;
    }

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

/* Contact Page Redesign */
.contact-section {
    padding: 120px 0;
    background: #fff;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: #fff;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.contact-info-panel {
    background: var(--secondary-color);
    padding: 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.contact-info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.contact-form-panel {
    padding: 80px;
    background: #fff;
}

.contact-form .form-group {
    margin-bottom: 30px;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    margin-top: 20px;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-color);
    letter-spacing: 5px;
}

/* Contact Form 7 specific styles to match original form */
.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 30px;
    position: relative;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    border-bottom: 1px solid #ddd;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.wpcf7-form textarea {
    border-bottom: 2px solid #e0e0e0;
    color: var(--text-dark);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpcf7-form .wpcf7-submit {
    margin-top: 20px;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    box-shadow: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.wpcf7-form .wpcf7-submit:hover {
    background: var(--primary-color);
    letter-spacing: 5px;
    transform: translateY(-2px);
}

/* Force Contact Form 7 button to match original exactly */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit,
.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
    margin-top: 20px !important;
    padding: 15px 40px !important;
    background: var(--secondary-color) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form input.wpcf7-form-control.wpcf7-submit:hover {
    background: var(--primary-color) !important;
    letter-spacing: 5px !important;
}

/* Target all possible CF7 submit button variations */
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpcf7-form .wpcf7-form-control.wpcf7-submit {
    margin-top: 20px !important;
    padding: 15px 40px !important;
    background: var(--secondary-color) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: inline-block !important;
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover,
.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover {
    background: var(--primary-color) !important;
    letter-spacing: 5px !important;
}

/* Force Contact Form 7 to use theme styles */
.contact-form-panel .wpcf7-form {
    background: transparent;
    padding: 0;
}

/* MOST SPECIFIC - Override ALL CF7 button styles */
.contact-form-panel .wpcf7-form .wpcf7-submit,
.contact-form-panel .wpcf7-form input[type="submit"],
.contact-form-panel .wpcf7-form button[type="submit"],
.contact-form-panel .wpcf7-form input.wpcf7-form-control.wpcf7-submit {
    margin-top: 20px !important;
    padding: 15px 40px !important;
    background: var(--secondary-color) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1 !important;
    height: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.contact-form-panel .wpcf7-form .wpcf7-submit:hover,
.contact-form-panel .wpcf7-form input[type="submit"]:hover,
.contact-form-panel .wpcf7-form button[type="submit"]:hover,
.contact-form-panel .wpcf7-form input.wpcf7-form-control.wpcf7-submit:hover {
    background: var(--primary-color) !important;
    letter-spacing: 5px !important;
    color: #fff !important;
}

.contact-form-panel .wpcf7-form .wpcf7-response-output {
    margin: 15px 0;
    padding: 15px;
    background: #f8f8f8;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-family: var(--font-body);
}

.contact-form-panel .wpcf7-form .wpcf7-validation-errors {
    border: 1px solid #ff0000;
    background: #ffebeb;
    color: #ff0000;
    padding: 10px;
    margin: 15px 0;
}

/* Privacy Page Redesign */
.privacy-section {
    padding: 120px 0;
    max-width: 900px;
    margin: 0 auto;
}


.privacy-body h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.privacy-body h3 {
    margin-top: 60px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.privacy-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .contact-info-panel,
    .contact-form-panel {
        padding: 50px 30px;
    }
}

/* Project Details Page Styles */
.project-detail-hero {
    height: 80vh;
    min-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.project-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Much lighter overlay */
}

.project-detail-hero .container {
    position: relative;
    z-index: 2;
}

.project-hero-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.project-hero-meta span {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.project-detail-hero h1 {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.project-detail-hero h1 span {
    font-weight: 300;
    opacity: 0.8;
}

.project-info-section {
    padding: 100px 0;
    background: #fff;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.project-description h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.project-description h2 span {
    font-weight: 300;
    color: var(--primary-color);
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.project-specs {
    padding: 0;
    background: transparent;
    border: none;
}

.project-specs h3 {
    font-size: 1.2rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.spec-value {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.project-gallery {
    padding: 30px 80px;
    /* Balanced all-around spacing: 120px top/bottom, 80px left/right */
    background: #fff;
}

/* --- Project Gallery (Exact 2+4 Grid for 6 Images) --- */
.gallery-mosaic {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 30px !important;
    margin-top: 20px;
    align-items: stretch;
}


.mosaic-item {
    position: relative;
    overflow: hidden;

    border-radius: 0 !important;
    cursor: pointer;


}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;



}

.mosaic-item:hover img {
    transform: scale(1.04);
}

/* Row 1: 2 Images (6 Columns Each) */
.mosaic-item:nth-child(1),
.mosaic-item:nth-child(2) {
    grid-column: span 6 !important;
    aspect-ratio: 16 / 10 !important;
}

/* Row 2: 4 Images (3 Columns Each) */
.mosaic-item:nth-child(3),
.mosaic-item:nth-child(4),
.mosaic-item:nth-child(5) {
    grid-column: span 4 !important;
    aspect-ratio: 16 / 10 !important;
    /* Squarer for the 4-pack */
}

@media (max-width: 992px) {
    .project-gallery {
        padding: 60px 20px;
        /* Reduced gap for smaller screens */
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 15px;
    }

    .mosaic-item {
        border-radius: 8px;
        overflow: hidden;
    }

    .mosaic-item img {
        border-radius: 8px;
        transition: transform 0.6s ease;
    }

    .mosaic-item:hover img {
        transform: scale(1.02);
    }

    .mosaic-item:nth-child(n) {
        grid-column: span 1 !important;
        aspect-ratio: 1.5 / 1 !important;
    }
}

@media (max-width: 576px) {
    .gallery-mosaic {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 10px;
        justify-content: center !important;
        align-items: center !important;
    }

    .mosaic-item {
        border-radius: 6px;
        margin-bottom: 10px;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .mosaic-item img {
        border-radius: 6px;
        transition: transform 0.4s ease;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .mosaic-item:hover img {
        transform: scale(1.01);
    }

    .project-gallery {
        padding: 40px 15px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }
}


/* News Details Page Styles */
.news-detail-content {
    padding: 100px 0;
    max-width: 900px;
    margin: 0 auto;
}

.news-article-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-article-header .cat {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news-article-header h1 {
    font-size: 2.4rem;
    /* Decreased from 3rem */
    line-height: 1.2;
    margin-bottom: 25px;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #999;
    font-size: 14px;
}

.news-featured-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
}

.news-article-body p {
    margin-bottom: 30px;
}

.news-article-body blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.4;
    padding: 40px;
    border-left: 5px solid var(--primary-color);
    background: #f9f9f9;
    margin: 60px 0;
}

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

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-article-header h1 {
        font-size: 1.8rem;
    }

    .news-featured-image {
        height: 400px;
    }
}



.project-detail-hero {
    height: 50vh;
    padding-top: 120px;
}

.project-detail-hero h1 {
    font-size: 2.2rem;
}

.news-featured-image {
    height: 300px;
    margin-bottom: 30px;
}

.news-article-body {
    font-size: 1rem;
}

.news-article-body blockquote {
    font-size: 1.4rem;
    padding: 25px;
    margin: 40px 0;
}

/* History Detail Section */
.history-detail {
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.history-detail .section-title {
    margin-bottom: 50px;
    text-align: center;
}

.history-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.history-paragraph:last-child {
    margin-bottom: 0;
}

/* Milestone Timeline */
.milestone-section {
    padding: 120px 0;
    background: #fcfcfc;
}

.timeline-container {
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(125, 21, 35, 0.1);
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 35px;
    background: #fff;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.timeline-content .year {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.timeline-content h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* Vision & Mission Redesign */
.vision-mission-v2 {
    padding: 120px 0;
    background: #fff;
}

.vm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    padding: 80px 60px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.vm-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.vm-card i {
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.03;
    position: absolute;
    bottom: -20px;
    right: -20px;
    transform: rotate(-15deg);
}

.vm-card .subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.vm-card h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.vm-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* CTA with Background Image */
.about-cta-section {
    padding: 180px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: #fff;

}

.about-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 51, 84, 0.9), rgba(18, 51, 84, 0.7));
}

.about-cta-section .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .vm-card {
        padding: 50px 40px;
    }

    .vm-card h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-right {
        left: 0%;
    }

    .vm-row {
        grid-template-columns: 1fr;
    }

    .about-cta-section h2 {
        font-size: 2.5rem;
    }

    .history-detail {
        padding: 80px 20px;
    }

    .about-story-bg-text {
        font-size: 6rem;
        /* Further reduced for smaller screens */
        letter-spacing: 10px;
    }
}

/* 4. Small Mobile Phones (< 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

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

    .inner-hero-content h1 {
        font-size: 2.5rem;
    }

    .news-card-alt h3 {
        font-size: 1.1rem;
    }

    .mosaic-item {
        height: 250px;
    }

    .footer-contact-col p {
        font-size: 1rem;
    }

    .footer-bottom {
        padding-top: 30px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content .year {
        font-size: 1.4rem;
    }
}