/* ============================================================
   EASTBOURNE THEME — Main Stylesheet
   ============================================================ */

/* ── VARIABLES ── */
:root {
    --primary:      #E8650A;
    --primary-dark: #c45508;
    --dark:         #1a1a1a;
    --gray-bg:      #efefef;
    --text-muted:   #777;
    --radius-sm:    10px;
    --radius-md:    18px;
    --radius-lg:    25px;
    --shadow:       0 8px 30px rgba(0,0,0,0.08);
    --transition:   all 0.3s ease;
}

/* ── GLOBAL ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
.container-fluid-home { padding-left: 8%; padding-right: 8%; }

/* ── BUTTONS ── */
.btn-primary-cta {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 12px 38px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary-cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,101,10,0.3); }

.btn-outline-cta {
    display: inline-block;
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 12px 38px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-outline-cta:hover { background: var(--primary); color: #fff !important; }

.btn-hero-outline {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff !important;
    background: transparent;
    border-radius: 50px;
    padding: 12px 38px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-hero-outline:hover { background: #fff; color: #333 !important; }

.btn-quote-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff !important;
    background: transparent;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-quote-outline:hover { background: #fff; color: #333 !important; }

.btn-portfolio {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.8);
    color: #fff !important;
    background: transparent;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-portfolio:hover { background: #fff; color: #333 !important; }

/* ── CALL BUTTON ── */
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    font-family: inherit;
}
.btn-call:hover { background: var(--primary-dark); color: #fff !important; transform: translateY(-1px); }
.btn-call i { font-size: 13px; }

/* ═══════════════════════════════════════════
   HEADER / NAVBAR
═══════════════════════════════════════════ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    transition: var(--transition);
}
.main-header.scrolled { box-shadow: 0 4px 25px rgba(0,0,0,0.12); }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    gap: 20px;
}

/* Logo */
.navbar-brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.navbar-brand-logo .brand-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 1.5px;
}
.navbar-brand-logo .brand-b { color: var(--primary); }
.navbar-brand-logo img { height: 40px; width: auto; }

/* Nav Menu */
.nav-collapse { flex: 1; display: flex; justify-content: center; }
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    margin: 0; padding: 0;
}
.nav-menu li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--primary); }

/* Language Switch */
.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.lang-switch a { color: #aaa; text-decoration: none; transition: var(--transition); }
.lang-switch a.active { color: var(--dark); font-weight: 700; }
.lang-switch .sep { color: #ddd; }

/* Mobile Toggle */
.navbar-toggler-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    flex-shrink: 0;
}
.navbar-toggler-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar-toggler-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggler-btn.open span:nth-child(2) { opacity: 0; }
.navbar-toggler-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Footer menu */
.footer-menu-list { list-style: none; padding: 0; margin: 0; }
.footer-menu-list li { margin-bottom: 12px; }
.footer-menu-list li a { color: #888; text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-menu-list li a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-swiper { width: 100%; height: 100%; }

.swiper-slide { position: relative; }
.hero-slide-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide-video { position: absolute; inset: 0; overflow: hidden; }
.hero-slide-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}
.hero-outline-text {
    font-size: clamp(60px, 11vw, 160px);
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.28);
    letter-spacing: 8px;
    line-height: 1;
    user-select: none;
}
.hero-main-text {
    font-size: clamp(50px, 9vw, 125px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 45px;
}

/* Hero Nav */
.swiper-button-prev.hero-prev,
.swiper-button-next.hero-next {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}
.swiper-button-prev.hero-prev:hover,
.swiper-button-next.hero-next:hover { background: rgba(255,255,255,0.25); }
.swiper-button-prev.hero-prev::after,
.swiper-button-next.hero-next::after { display: none; }

/* Hero Pagination */
.swiper-pagination.hero-pagination { bottom: 28px; }
.hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: rgba(255,255,255,0.5); opacity: 1; transition: var(--transition); }
.hero-pagination .swiper-pagination-bullet-active { width: 28px; border-radius: 4px; background: #fff; }

/* ═══════════════════════════════════════════
   COLOR GROUP SECTION
═══════════════════════════════════════════ */
.section-color-group {
    padding: 90px 0;
    background: #fff;
    background-size: auto;
    background-position: top right;
    background-repeat: no-repeat;
}
.cg-title { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 18px; }
.cg-title span { font-weight: 200; }
.cg-desc { font-size: 18px; line-height: 1.8; color: #888; max-width: 700px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   ABOUT / STATS
═══════════════════════════════════════════ */
.section-about { padding: 80px 0; background: #fff; }
.about-lead { font-size: 20px; font-weight: 300; color: #666; margin-bottom: 6px; }
.about-title { font-size: 38px; font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 18px; }
.about-desc { color: #888; line-height: 1.8; font-size: 15px; margin-bottom: 28px; }
.about-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.about-logo-badge {
    position: absolute;
    bottom: -15px; right: 15px;
    width: 90px; height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    font-size: 11px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.stat-block { margin-bottom: 35px; }
.stat-num { font-size: 78px; font-weight: 800; color: var(--dark); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-bar { width: 50px; height: 3px; background: var(--primary); margin: 8px 0 10px; }
.stat-label { font-size: 16px; font-weight: 300; color: #666; }

/* ═══════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════ */
.section-services { padding: 90px 0; background: var(--gray-bg); }
.section-title { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 15px; }
.section-desc { font-size: 15px; color: #888; line-height: 1.8; max-width: 600px; margin: 0 auto 25px; }

.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    margin-top: 55px;
}
.service-icons-top,
.service-icons-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    background: var(--gray-bg);
}
.service-img-right,
.service-img-left { overflow: hidden; min-height: 380px; }
.service-img-right img,
.service-img-left img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.service-img-right:hover img,
.service-img-left:hover img { transform: scale(1.04); }

.svc-item { display: flex; align-items: flex-start; gap: 18px; }
.svc-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    transition: var(--transition);
}
.svc-item:hover .svc-icon { transform: scale(1.1); }
.svc-text h5 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.svc-text h5 a { color: var(--dark); text-decoration: none; }
.svc-text h5 a:hover { color: var(--primary); }
.svc-text p { font-size: 13px; color: #999; margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════
   PORTFOLIO SECTION
═══════════════════════════════════════════ */
.section-portfolio { padding: 90px 0; overflow: hidden; background: #fff; }
.portfolio-title { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 15px; }
.portfolio-desc { font-size: 15px; color: #888; line-height: 1.8; margin-bottom: 28px; }

.nav-arrow {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    font-size: 15px;
}
.nav-arrow:hover { background: var(--primary); color: #fff; transform: scale(1.05); }

.portfolio-swiper { overflow: visible !important; }
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.portfolio-card img {
    width: 100%; height: 380px;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 80px 25px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.portfolio-overlay h4 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.portfolio-overlay span { font-size: 13px; color: rgba(255,255,255,0.8); display: block; margin-bottom: 14px; }

/* ═══════════════════════════════════════════
   CONTACT FORM SECTION
═══════════════════════════════════════════ */
.section-contact-form { padding: 90px 0; background: #fff; }
.contact-box {
    background: #f7f7f7;
    border-radius: var(--radius-lg);
    padding: 55px 50px;
    height: 100%;
}
.contact-box h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 30px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-field { flex: 1; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 14px;
    font-family: inherit;
    color: #444;
    background: #fff;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,101,10,0.08); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 38px; }
.contact-side-img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; border-radius: var(--radius-lg); }

/* Form messages */
.eb-form-msg { padding: 14px 20px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.eb-form-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.eb-form-msg.error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ═══════════════════════════════════════════
   VIDEO / QUOTE SECTION
═══════════════════════════════════════════ */
.section-video-quote {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.vq-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.62);
}
.vq-inner { position: relative; z-index: 2; }
.play-btn {
    width: 75px; height: 75px;
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 60px;
    cursor: pointer;
    transition: var(--transition);
}
.play-btn i { color: #fff; font-size: 26px; padding-left: 4px; }
.play-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }

.quote-bar {
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 30px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.quote-bar h3 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.quote-bar p { color: #aaa; font-size: 13px; margin: 0; }

/* Video Modal */
.eb-video-modal {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eb-video-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.88); cursor: pointer; }
.eb-video-container { position: relative; z-index: 1; width: 90vw; max-width: 960px; }
.eb-video-embed { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; }
.eb-video-embed iframe,
.eb-video-embed video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.eb-video-close {
    position: absolute;
    top: -45px; right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 5px 10px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 70px 0 0;
}
.footer-logo-link { text-decoration: none; display: block; margin-bottom: 18px; }
.footer-logo { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: 1.5px; }
.footer-logo .fb { color: var(--primary); }
.footer-logo-link img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13px; line-height: 1.8; color: #777; margin-bottom: 22px; }

.footer-socials { display: flex; gap: 10px; margin-bottom: 0; }
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex; align-items: center; justify-content: center;
    color: #888;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

footer h6 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 22px; }
.footer-contact-item {
    display: flex; align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #777;
}
.footer-contact-item i { color: var(--primary); margin-top: 3px; width: 14px; flex-shrink: 0; }
.footer-contact-item a { color: #888; text-decoration: none; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    margin-top: 55px;
    padding: 22px 0;
    text-align: center;
    font-size: 12px;
    color: #555;
}
.footer-bottom a { color: var(--primary); text-decoration: none; }

/* ═══════════════════════════════════════════
   PAGE BANNER
═══════════════════════════════════════════ */
.eb-page-banner { position: relative; }
.eb-page-banner h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* ═══════════════════════════════════════════
   BLOG / ARCHIVE
═══════════════════════════════════════════ */
.eb-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.eb-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.eb-card-img-link { display: block; overflow: hidden; }
.eb-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; }
.eb-card:hover .eb-card-img { transform: scale(1.05); }
.eb-card-body { padding: 25px; }
.eb-card-meta { font-size: 12px; color: #aaa; margin-bottom: 10px; }
.eb-card-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.eb-card-title a { color: var(--dark); text-decoration: none; }
.eb-card-title a:hover { color: var(--primary); }
.eb-card-excerpt { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 18px; }

/* ═══════════════════════════════════════════
   SERVICES GRID (Archive)
═══════════════════════════════════════════ */
.eb-service-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.eb-service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.eb-service-card-img { width: 100%; height: 200px; object-fit: cover; }
.eb-service-card-body { padding: 30px 25px 25px; }
.eb-service-card-body h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.eb-service-card-body h4 a { color: var(--dark); text-decoration: none; }
.eb-service-card-body h4 a:hover { color: var(--primary); }
.eb-service-card-body p { font-size: 14px; color: #888; margin-bottom: 18px; }

/* ═══════════════════════════════════════════
   CAREER CARDS
═══════════════════════════════════════════ */
.eb-career-card {
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
}
.eb-career-card:hover { border-color: var(--primary); box-shadow: 0 8px 30px rgba(232,101,10,0.1); }
.eb-career-card h4 { font-size: 20px; font-weight: 700; }
.eb-career-card h4 a { color: var(--dark); text-decoration: none; }
.eb-career-card h4 a:hover { color: var(--primary); }
.eb-career-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.eb-career-meta span { font-size: 13px; color: #888; display: flex; align-items: center; gap: 5px; }
.eb-career-meta i { color: var(--primary); font-size: 12px; }
.eb-career-excerpt { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 18px; }

.eb-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.eb-badge-open { background: #e8f5e9; color: #2e7d32; }
.eb-badge-closed { background: #ffebee; color: #c62828; }

/* ═══════════════════════════════════════════
   SIDEBAR / SINGLE PAGE
═══════════════════════════════════════════ */
.eb-sidebar-box {
    background: #f7f7f7;
    border-radius: var(--radius-md);
    padding: 28px;
}
.eb-sidebar-box h4 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.eb-detail-list { list-style: none; padding: 0; margin: 0; }
.eb-detail-list li { padding: 10px 0; border-bottom: 1px solid #eeeeee; font-size: 14px; color: #666; }
.eb-detail-list li:last-child { border-bottom: none; }
.eb-detail-list li strong { color: var(--dark); margin-right: 5px; }
.eb-detail-list li a { color: var(--primary); }

.eb-related-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.eb-related-img { width: 65px; height: 65px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.eb-related-title { font-size: 14px; font-weight: 600; color: var(--dark); text-decoration: none; }
.eb-related-title:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   GALLERY GRID
═══════════════════════════════════════════ */
.eb-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.eb-gallery-item { display: block; border-radius: 10px; overflow: hidden; }
.eb-gallery-item img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.4s; }
.eb-gallery-item:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════════
   PORTFOLIO FILTER
═══════════════════════════════════════════ */
.eb-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.eb-filter-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.eb-filter-btn.active,
.eb-filter-btn:hover { background: var(--primary); color: #fff; }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.eb-pagination { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eb-pagination a,
.eb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.eb-pagination a:hover,
.eb-pagination .current { background: var(--primary); color: #fff; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate].animated { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   PAGE CONTENT
═══════════════════════════════════════════ */
.eb-page-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 25px; }
.eb-page-hero-img { width: 100%; border-radius: var(--radius-md); margin-bottom: 30px; }
.eb-page-content { line-height: 1.8; color: #444; }
.eb-page-content h1,.eb-page-content h2,.eb-page-content h3 { font-weight: 700; color: var(--dark); margin: 24px 0 12px; }
.eb-page-content p { margin-bottom: 16px; }
.eb-page-content img { border-radius: 10px; }
.eb-page-content ul,.eb-page-content ol { padding-left: 20px; margin-bottom: 16px; }
.eb-page-content li { margin-bottom: 6px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1199px) {
    .stat-num { font-size: 65px; }
    .cg-title, .section-title, .portfolio-title { font-size: 36px; }
}

@media (max-width: 991px) {
    .navbar-toggler-btn { display: flex; }
    .nav-collapse {
        display: none !important;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid #f0f0f0;
        padding: 15px 25px 20px;
        z-index: 999;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        justify-content: flex-start;
    }
    .nav-collapse.open { display: block !important; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 2px; }
    .nav-menu li a { padding: 10px 0; border-bottom: 1px solid #f5f5f5; }

    .service-layout-grid { grid-template-columns: 1fr; }
    .service-icons-top, .service-icons-bottom { padding: 40px 30px !important; }
    .service-img-right, .service-img-left { min-height: 280px; }

    .quote-bar { flex-direction: column; text-align: center; gap: 20px; }
    .hero-outline-text { font-size: 70px; }
    .hero-main-text { font-size: 60px; }
}

@media (max-width: 767px) {
    .navbar-inner { padding: 12px 18px; }
    .stat-num { font-size: 55px; }
    .cg-desc { font-size: 16px; }
    .form-row { flex-direction: column; gap: 10px; }
    .contact-box { padding: 30px 20px; }
    .contact-side-img { min-height: 280px; }
    .section-video-quote { background-attachment: scroll; }
    .quote-bar { padding: 25px 22px; }
    .quote-bar h3 { font-size: 22px; }
    .eb-gallery-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
    .hero-outline-text { font-size: 50px; }
    .hero-main-text { font-size: 44px; }
    .hero-content { padding-left: 15px; }
    .cg-title { font-size: 28px; }
    .section-title, .portfolio-title { font-size: 28px; }
    .about-title { font-size: 28px; }
    .stat-num { font-size: 48px; }
}
