/* ============================================================
   RefTex Technology LLC — Modern Stylesheet
   Primary: #b45c3d | Google Fonts: Outfit + Inter
   ============================================================ */

:root {
    --primary:        #b45c3d;
    --primary-dark:   #8d4530;
    --primary-light:  #c97a5e;
    --primary-xlight: #f7ede8;
    --primary-glow:   rgba(180, 92, 61, 0.18);

    --dark:           #0f172a;
    --dark-2:         #1e293b;
    --dark-3:         #263347;

    --body-bg:        #fafaf9;
    --text-dark:      #18181b;
    --text-muted:     #64748b;
    --border:         #e4dbd7;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--body-bg);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

img { max-width: 100%; }

/* ── Animation Utility ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ── Shared Buttons ── */
.btn-primary-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-primary-brand:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(180, 92, 61, 0.38);
}
.btn-primary-brand.btn-lg-brand {
    padding: 15px 40px;
    font-size: 1rem;
}
.btn-ghost-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.28);
    padding: 11px 26px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
}
.btn-ghost-brand:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* ── Shared Section Labels ── */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    letter-spacing: -0.5px;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 0;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 0;
}

/* ── Form Fields (shared) ── */
.form-field {
    position: relative;
}
.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}
.form-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 13px 14px 13px 38px;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    background: #fafaf9;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}
.form-input::placeholder { color: #b0a8a4; }
.form-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(180, 92, 61, 0.13);
}

/* ── Custom Checkbox ── */
.check-group {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    margin-top: 4px;
}
.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.custom-check input { display: none; }
.check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.custom-check input:checked + .check-box {
    background: var(--primary);
    border-color: var(--primary);
}
.custom-check input:checked + .check-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 0.65rem;
}
.check-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    border-bottom: 1px solid transparent;
    transition: padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.navbar.scrolled {
    padding: 0.7rem 0;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.3px;
    text-decoration: none;
    line-height: 1;
}
.brand-ref  { color: var(--primary); }
.brand-tex  { color: var(--dark); }
.brand-sub  {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-left: 5px;
    text-transform: uppercase;
}

/* Nav links */
.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-dark) !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 7px;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-xlight);
}

/* CTA nav button */
.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 9px 20px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-cta-nav:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(180, 92, 61, 0.35);
    transform: translateY(-1px);
}

/* Toggler */
.navbar-toggler {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--primary-glow); }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../assets/images/images-6.jpeg') center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(15, 23, 42, 0.93) 0%,
        rgba(141, 69, 48, 0.55) 65%,
        rgba(180, 92, 61, 0.35) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(180, 92, 61, 0.18);
    border: 1px solid rgba(180, 92, 61, 0.38);
    color: #f2c9b8;
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
}

/* Heading */
.hero-heading {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 1.3rem;
}
.hero-accent {
    color: var(--primary-light);
    display: inline;
}

.hero-desc {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot-inner {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%   { transform: translateY(0);   opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ──────────────────────────────────────────
   STATS STRIP
────────────────────────────────────────── */
.stats-strip {
    background: #fff;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 10;
}
.stat-item {
    padding: 2.6rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.stat-item:hover::after { width: 60%; }

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -1px;
}
.stat-number sup {
    font-size: 1.4rem;
    font-weight: 700;
    vertical-align: super;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ──────────────────────────────────────────
   WHY CHOOSE US
────────────────────────────────────────── */
.section-why {
    padding: 6.5rem 0;
    background: var(--body-bg);
}
.why-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 2.2rem;
    height: 100%;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-xlight) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 17px;
}
.why-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 14px 48px rgba(180, 92, 61, 0.13);
    transform: translateY(-6px);
}
.why-card:hover::before { opacity: 1; }

.why-icon {
    position: relative;
    width: 54px;
    height: 54px;
    background: var(--primary-xlight);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1.3rem;
    transition: background 0.3s, color 0.3s;
}
.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
}
.why-card h5 {
    position: relative;
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}
.why-card p {
    position: relative;
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.72;
    margin: 0;
}

/* ──────────────────────────────────────────
   SERVICES
────────────────────────────────────────── */
.section-services {
    padding: 6.5rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.section-services::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(180, 92, 61, 0.12), transparent 70%);
    border-radius: 50%;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 2.4rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 2px 2px 0 0;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(180, 92, 61, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(180, 92, 61, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary-light);
    margin-bottom: 1.3rem;
    transition: background 0.3s;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}
.service-card h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.service-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.91rem;
    line-height: 1.72;
    margin-bottom: 1.4rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: gap 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}
.service-link:hover {
    color: #fff;
    gap: 11px;
}

/* ──────────────────────────────────────────
   GALLERY
────────────────────────────────────────── */
.section-gallery {
    padding: 6.5rem 0;
    background: var(--primary-xlight);
}
.gallery-frame {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.gallery-frame:hover img { transform: scale(1.06); }
.gallery-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

/* ──────────────────────────────────────────
   QUOTE SECTION
────────────────────────────────────────── */
.section-quote {
    padding: 6.5rem 0;
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.quote-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.circle-1 {
    width: 550px; height: 550px;
    top: -200px; right: -120px;
    background: rgba(255, 255, 255, 0.06);
}
.circle-2 {
    width: 350px; height: 350px;
    bottom: -120px; left: -80px;
    background: rgba(0, 0, 0, 0.08);
}
.quote-header { position: relative; z-index: 2; }
.quote-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 22px;
    padding: 3rem 2.8rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

/* ──────────────────────────────────────────
   CONTACT
────────────────────────────────────────── */
.section-contact {
    padding: 6.5rem 0;
    background: #fff;
}
.contact-info-card {
    background: var(--dark);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    height: 100%;
}
.contact-card-title {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.8rem;
}
.contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(180, 92, 61, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    font-size: 0.9rem;
}
.contact-detail strong {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 2px;
}
.contact-detail p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Social buttons */
.social-row {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.contact-form-card {
    background: var(--body-bg);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    height: 100%;
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
    background: var(--dark-2);
    padding: 5rem 0 2rem;
}
.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.9rem;
    letter-spacing: -0.3px;
}
.footer-brand span { color: var(--primary-light); }
.footer-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 0;
}
.footer-top { padding-bottom: 3rem; }
.footer-col-title {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
    letter-spacing: 0.3px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-address {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.86rem;
    font-style: normal;
}
.footer-address p {
    margin-bottom: 0.55rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-address i { color: var(--primary-light); margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.83rem;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-heading { letter-spacing: -1px; }
    .navbar-collapse {
        background: #fff;
        padding: 1.2rem;
        border-radius: 12px;
        margin-top: 12px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    .btn-cta-nav {
        display: inline-flex;
        width: fit-content;
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .section-why,
    .section-services,
    .section-gallery,
    .section-quote,
    .section-contact { padding: 4.5rem 0; }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.8rem 1rem;
    }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }

    .stat-number { font-size: 2.2rem; }

    .hero-heading { letter-spacing: -0.5px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }

    .quote-card { padding: 2rem 1.5rem; }
    .contact-info-card,
    .contact-form-card { padding: 2rem 1.5rem; }

    .gallery-frame { height: 220px !important; }

    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-top { padding-bottom: 2rem; }
}
