/* ============================================================
   DECON Construction Sole Co., Ltd.
   Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #F2BE00;
    --secondary: #0C2D62;
    --accent: #F2BE00;
    --hover: #F08B23;
    --body-color: #494949;
    --bg: #FFFFFF;
    --surface: #F5F5FD;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #888888;
    --border: #e5e5ec;
    --shadow-sm: 0 2px 8px rgba(12, 45, 98, 0.08);
    --shadow-md: 0 6px 24px rgba(12, 45, 98, 0.12);
    --shadow-lg: 0 16px 48px rgba(12, 45, 98, 0.18);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--body-color);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--hover);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-main);
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--secondary);
    color: var(--light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar a {
    color: var(--light);
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info span,
.top-bar-info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Language switcher */
.lang-switch {
    display: inline-flex;
    gap: 0;
    font-weight: 600;
    font-size: 0.82rem;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 8px;
    border-radius: 4px;
}

.lang-switch a.active {
    color: var(--secondary);
    background: var(--primary);
}

/* ---------- Header / Navigation ---------- */
.site-header {
    background: var(--light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
}

.logo:hover {
    color: var(--secondary);
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--hover));
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.1;
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 6px;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--hover);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.cpms-btn {
    background: var(--secondary);
    color: var(--light) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cpms-btn:hover {
    background: var(--hover);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: var(--light);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.92) 0%, rgba(12, 45, 98, 0.65) 50%, rgba(240, 139, 35, 0.55) 100%),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12, 45, 98, 0.6), transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 60px 0;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(242, 190, 0, 0.2);
    color: var(--primary);
    border: 1px solid rgba(242, 190, 0, 0.4);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--light);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Section base ---------- */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--surface);
}

.section-dark {
    background: var(--secondary);
    color: var(--light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
}

.section-header .divider {
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

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

.service-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--secondary), #1a4a8f);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.96rem;
    margin-bottom: 20px;
}

.service-card .read-more {
    color: var(--hover);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Welcome / About intro ---------- */
.welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.welcome-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.15), rgba(242, 190, 0, 0.15)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1000&q=80') center/cover no-repeat;
}

.welcome-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.welcome-content .eyebrow {
    color: var(--hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.welcome-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 12px 0 20px;
}

.welcome-content .divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 24px;
}

.welcome-content p {
    margin-bottom: 18px;
    color: var(--gray);
}

.welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 32px;
}

.welcome-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--secondary);
}

.welcome-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stats {
    background:
        linear-gradient(rgba(12, 45, 98, 0.95), rgba(12, 45, 98, 0.92)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover fixed no-repeat;
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--light);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary), #1a4a8f);
    color: var(--light);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(242, 190, 0, 0.1);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--light);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    opacity: 0.9;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.92), rgba(12, 45, 98, 0.78)),
        url('https://images.unsplash.com/photo-1460317442991-0ec209397354?w=1600&q=80') center/cover no-repeat;
    color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--light);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.page-header .breadcrumb {
    display: inline-flex;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.page-header .breadcrumb span {
    opacity: 0.6;
}

/* ---------- About Page ---------- */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.1), transparent),
        url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?w=1000&q=80') center/cover no-repeat;
}

.mission-box {
    background: var(--surface);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 40px;
}

.mission-box h3 {
    color: var(--secondary);
    margin-bottom: 16px;
}

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

.why-card {
    background: var(--light);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.why-card .why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--surface);
    color: var(--hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--gray);
    font-size: 0.92rem;
}

/* ---------- Services Page ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 2;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--secondary);
}

.service-detail-image.img-1 {
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.2), transparent),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1000&q=80') center/cover no-repeat;
}
.service-detail-image.img-2 {
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.2), transparent),
        url('https://images.unsplash.com/photo-1581094271901-8022df4466f9?w=1000&q=80') center/cover no-repeat;
}
.service-detail-image.img-3 {
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.2), transparent),
        url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1000&q=80') center/cover no-repeat;
}
.service-detail-image.img-4 {
    background:
        linear-gradient(135deg, rgba(12, 45, 98, 0.2), transparent),
        url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1000&q=80') center/cover no-repeat;
}

.service-detail .eyebrow {
    color: var(--hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.service-detail h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 10px 0 18px;
}

.service-detail .divider {
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 20px;
}

.service-detail p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-detail ul.check-list {
    margin-top: 16px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--secondary);
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Portfolio ---------- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.project-image {
    height: 240px;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 45, 98, 0.6), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image.img-a {
    background:
        url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=800&q=80') center/cover no-repeat;
}
.project-image.img-b {
    background:
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=800&q=80') center/cover no-repeat;
}
.project-image.img-c {
    background:
        url('https://images.unsplash.com/photo-1561053766-4f9c1a770c8c?w=800&q=80') center/cover no-repeat;
}
.project-image.img-d {
    background:
        url('https://images.unsplash.com/photo-1577415124269-fc1140a69e91?w=800&q=80') center/cover no-repeat;
}
.project-image.img-e {
    background:
        url('https://images.unsplash.com/photo-1590602847861-f357a9332bbc?w=800&q=80') center/cover no-repeat;
}
.project-image.img-f {
    background:
        url('https://images.unsplash.com/photo-1574359411659-15673c5c3f7e?w=800&q=80') center/cover no-repeat;
}

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--secondary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-info {
    padding: 26px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    gap: 18px;
    font-size: 0.82rem;
    color: var(--hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-section + .portfolio-section {
    margin-top: 70px;
}

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 200px;
    background: var(--secondary);
    position: relative;
}

.blog-image.img-1 {
    background:
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=800&q=80') center/cover no-repeat;
}
.blog-image.img-2 {
    background:
        url('https://images.unsplash.com/photo-1429497419816-9ca5cfb4571a?w=800&q=80') center/cover no-repeat;
}
.blog-image.img-3 {
    background:
        url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?w=800&q=80') center/cover no-repeat;
}
.blog-image.img-4 {
    background:
        url('https://images.unsplash.com/photo-1517089596392-fb9a9033e05b?w=800&q=80') center/cover no-repeat;
}
.blog-image.img-5 {
    background:
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&q=80') center/cover no-repeat;
}
.blog-image.img-6 {
    background:
        url('https://images.unsplash.com/photo-1448630360428-65456885c650?w=800&q=80') center/cover no-repeat;
}

.blog-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.blog-info {
    padding: 26px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    color: var(--hover);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-info h3 a {
    color: var(--secondary);
}

.blog-info h3 a:hover {
    color: var(--hover);
}

.blog-info p {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 18px;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    font-size: 0.82rem;
    color: var(--gray);
}

.blog-meta .author {
    font-weight: 600;
    color: var(--secondary);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--secondary), #1a4a8f);
    color: var(--light);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
}

.contact-info-card h3 {
    color: var(--light);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-info-card > p {
    opacity: 0.85;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(242, 190, 0, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item-text a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Contact form */
.contact-form {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-form > p {
    color: var(--gray);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--body-color);
    background: var(--surface);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 0 0 3px rgba(242, 190, 0, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.map-embed {
    margin-top: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0a1d44;
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--light);
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.8;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

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

.footer-col h4 {
    color: var(--light);
    font-size: 1.05rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    align-items: flex-start;
}

.footer-contact-item span {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    opacity: 0.7;
}

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

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--hover);
    color: var(--light);
    transform: translateY(-3px);
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .welcome,
    .about-story,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .welcome-image,
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail-image {
        order: 0;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        align-items: stretch;
        padding: 90px 24px 30px;
        gap: 6px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        transition: right 0.35s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a {
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 1rem;
    }

    .main-nav a.active::after {
        display: none;
    }

    .main-nav a.active {
        background: var(--surface);
    }

    .nav-actions {
        margin-top: 12px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .nav-actions .cpms-btn,
    .nav-actions .lang-switch {
        text-align: center;
        justify-content: center;
    }

    .header-inner {
        padding: 14px 20px;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 0;
    }

    .welcome-features {
        grid-template-columns: 1fr;
    }

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

    .stats {
        background-attachment: scroll;
    }

    .mission-box {
        padding: 28px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .project-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form {
        padding: 30px 22px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .logo-text small {
        display: none;
    }

    .top-bar-info {
        justify-content: center;
        gap: 12px;
        font-size: 0.78rem;
    }
}
