/* ========================================
   TM Joinery Ltd - Stylesheet
   ======================================== */

:root {
    --color-dark: #1a1a1a;
    --color-charcoal: #2d2d2d;
    --color-grey: #555;
    --color-light-grey: #f5f5f3;
    --color-border: #e0ddd8;
    --color-accent: #b8860b;
    --color-accent-dark: #9a7209;
    --color-white: #ffffff;
    --color-cream: #faf9f7;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto;
}

.section-subtitle {
    margin-top: 20px;
    color: var(--color-grey);
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.2);
}

.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-social {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-social:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.97);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 65px;
    filter: brightness(0) invert(1);
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 52px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-phone i {
    margin-right: 4px;
    color: var(--color-accent);
}

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

.nav-socials a {
    color: var(--color-white);
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-socials a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Mobile nav extras - hidden on desktop */
.nav-mobile-extras {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('Assets/Pics/main background.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero-rotating {
    height: 50px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
}

.rotating-word {
    position: absolute;
    left: 0;
    right: 0;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    visibility: hidden;
}

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

.rotating-word.exit {
    opacity: 0;
    transform: translateY(-30px);
    visibility: visible;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-socials a {
    color: var(--color-white);
    font-size: 1.3rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-socials a:hover {
    opacity: 1;
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ========================================
   About
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--color-white);
}

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

.about-text p {
    color: var(--color-grey);
    margin-bottom: 20px;
    font-size: 1.02rem;
}

.about-text .btn {
    margin-top: 10px;
}

.founders-card {
    background: var(--color-cream);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.founders-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.founders-card p {
    color: var(--color-grey);
    font-size: 0.95rem;
    line-height: 1.8;
}

.founders-socials {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.founders-socials a {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.founders-socials a:hover {
    color: var(--color-accent-dark);
}

/* ========================================
   Services
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.services .section-header h2 {
    color: var(--color-white);
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

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

.service-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width 0.4s ease;
}

.service-tile:hover::before {
    width: 100%;
}

.service-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(184, 134, 11, 0.3);
    transform: translateY(-4px);
}

.service-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(184, 134, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-tile-icon i {
    font-size: 1.3rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.service-tile:hover .service-tile-icon {
    background: var(--color-accent);
}

.service-tile:hover .service-tile-icon i {
    color: var(--color-white);
    transform: scale(1.1);
}

.service-tile h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.service-tile:hover h3 {
    color: var(--color-accent);
}

.service-tile p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Services bottom CTA - full width banner */
.services-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 36px 40px;
    background: var(--color-accent);
    border-radius: 0;
    position: relative;
    width: calc(100% + 48px);
}

.services-bottom p {
    color: var(--color-white);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.services-bottom .btn {
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 600;
}

.services-bottom .btn:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ========================================
   Projects / Our Work
   ======================================== */
.projects {
    padding: 100px 0;
    background: var(--color-white);
}

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

.project-card {
    display: block;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.project-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: var(--color-white);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 22px;
    border: 2px solid var(--color-white);
    border-radius: 4px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.project-link i {
    margin-right: 6px;
}

.project-card:hover .project-link {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.project-info {
    padding: 24px 28px;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.project-info p {
    color: var(--color-grey);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Featured Facebook Post */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--color-light-grey);
    border-radius: 12px;
    overflow: visible;
}

.featured-post-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 14px;
}

.featured-post-text p {
    color: var(--color-grey);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-post-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.featured-post-embed {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-post-embed iframe {
    width: 100%;
    max-width: 520px;
    height: 750px;
    transition: opacity 0.4s ease;
}

.featured-post-embed iframe.fading {
    opacity: 0;
}

.fb-post-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 4px 0;
}

.fb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fb-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

.fb-dot:hover {
    background: var(--color-grey);
}

.projects-cta {
    text-align: center;
}

.projects-cta p {
    color: var(--color-grey);
    margin-bottom: 16px;
}

.projects-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--color-charcoal);
    color: var(--color-white);
}

.testimonials .section-header h2 {
    color: var(--color-white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.stars {
    color: var(--color-accent);
    margin-bottom: 16px;
    font-size: 0.85rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.testimonial-author strong {
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonials-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 18px;
}

.testimonials-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-review {
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--color-white);
}

.btn-review i {
    margin-right: 6px;
}

.btn-google:hover {
    background: #4285f4;
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.btn-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

/* ========================================
   Contact
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-white);
    transition: border-color 0.3s ease;
    color: var(--color-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.contact-card {
    background: var(--color-white);
    padding: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.contact-item > i {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-grey);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-item a,
.contact-item span {
    color: var(--color-dark);
    font-weight: 500;
}

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

.contact-socials {
    display: flex;
    gap: 16px;
}

.contact-socials a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.contact-follow {
    margin-top: 20px;
    text-align: center;
    color: var(--color-grey);
    font-size: 0.9rem;
}

/* Form success state */
.contact-form-wrap {
    position: relative;
}

.form-success {
    display: none;
    background: var(--color-white);
    border-radius: 12px;
    border: 2px solid var(--color-accent);
    align-items: center;
    justify-content: center;
    min-height: 350px;
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.1);
}

.form-success.active {
    display: flex;
    animation: successPop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes successPop {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.form-success-inner {
    text-align: center;
    padding: 50px 40px;
}

.form-success-inner i {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
}

.form-success-inner h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--color-dark);
}

.form-success-inner p {
    color: var(--color-grey);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--color-white);
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--color-accent);
    margin-right: 8px;
    width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 8px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    background: var(--color-white);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats-bar.visible .stat-item::after {
    width: 40px;
}

.stat-number {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-suffix {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-grey);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: auto;
    background: var(--color-border);
    align-self: stretch;
}

/* ========================================
   About Intro (Homepage)
   ======================================== */
.about-intro {
    padding: 100px 0;
    background: var(--color-white);
}

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

.about-intro-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-line-left {
    margin: 0 0 24px 0;
}

.about-intro-text p {
    color: var(--color-grey);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.about-intro-text .btn {
    margin-top: 8px;
}

.about-intro-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========================================
   About Page
   ======================================== */
.navbar-inner {
    background: rgba(26, 26, 26, 0.97);
}

.nav-links a.active {
    color: var(--color-accent);
}

.page-header {
    position: relative;
    height: 340px;
    padding-top: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('Assets/Pics/main background.jpg') center/cover no-repeat;
    margin-top: 0;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.about-page {
    padding: 80px 0;
    background: var(--color-white);
}

.about-page .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-page .about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.about-page .about-text p {
    color: var(--color-grey);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--color-light-grey);
}

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

.team-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.team-img-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.team-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.team-text p {
    color: var(--color-grey);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.team-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Areas Section */
.areas-section {
    padding: 80px 0;
    background: var(--color-white);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.areas-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.areas-content p {
    color: var(--color-grey);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.areas-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.areas-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.areas-column ul {
    list-style: none;
}

.areas-column li {
    color: var(--color-grey);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 14px;
    position: relative;
}

.areas-column li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    background: var(--color-accent);
    border-radius: 50%;
}

.areas-note {
    font-style: italic;
    margin-bottom: 24px;
}

/* ========================================
   Agency Polish - Animations & Micro-interactions
   ======================================== */

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Section header line animation */
.section-line {
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header .section-line {
    width: 0;
}

.section-header.visible .section-line {
    width: 60px;
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.05s !important; }
.stagger-2 { transition-delay: 0.12s !important; }
.stagger-3 { transition-delay: 0.19s !important; }
.stagger-4 { transition-delay: 0.26s !important; }
.stagger-5 { transition-delay: 0.33s !important; }
.stagger-6 { transition-delay: 0.40s !important; }

/* Testimonial card glow */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.3);
}

/* Contact card items hover */
.contact-item {
    transition: padding-left 0.3s ease;
}

.contact-item:hover {
    padding-left: 6px;
}

.contact-item:hover > i {
    transform: scale(1.15);
}

.contact-item > i {
    transition: transform 0.3s ease;
}

/* Form focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Footer link hover slide */
.footer-links a {
    position: relative;
    padding-left: 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    padding-left: 6px;
}

/* Hero content entrance */
.hero-content {
    animation: heroEntrance 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: heroTitle 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 6px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 2px;
    }
}

.hero-subtitle {
    animation: heroFade 0.7s ease 0.7s both;
}

.hero-buttons {
    animation: heroFade 0.7s ease 0.9s both;
}

.hero-socials {
    animation: heroFade 0.7s ease 1.1s both;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats counter animation */
.stat-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stats-bar.visible .stat-item {
    opacity: 1;
    transform: translateY(0);
}

.stats-bar.visible .stat-item:nth-child(1) { transition-delay: 0.1s; }
.stats-bar.visible .stat-item:nth-child(3) { transition-delay: 0.2s; }
.stats-bar.visible .stat-item:nth-child(5) { transition-delay: 0.3s; }
.stats-bar.visible .stat-item:nth-child(7) { transition-delay: 0.4s; }

/* Smooth image loading */
img {
    transition: opacity 0.4s ease;
}

/* Nav toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links,
    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo img {
        height: 55px;
    }

    .navbar.scrolled .nav-logo img {
        height: 48px;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 28px 24px;
        gap: 6px;
        border-bottom: 2px solid var(--color-accent);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active li {
        opacity: 0;
        transform: translateX(-16px);
        animation: navSlideIn 0.3s ease forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.25s; }

    @keyframes navSlideIn {
        to { opacity: 1; transform: translateX(0); }
    }

    .nav-links.active a {
        font-size: 1.05rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .nav-mobile-extras {
        display: block !important;
        border-bottom: none !important;
        padding-top: 16px !important;
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-mobile-phone {
        display: block;
        color: var(--color-accent);
        font-size: 1.1rem;
        font-weight: 600;
        padding: 10px 0;
    }

    .nav-mobile-phone i {
        margin-right: 8px;
    }

    .nav-mobile-socials {
        display: flex;
        gap: 14px;
        padding: 10px 0;
    }

    .nav-mobile-socials a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-white);
        font-size: 0.95rem;
    }

    .nav-mobile-socials a:hover {
        background: var(--color-accent);
        border-color: var(--color-accent);
    }

    /* Mobile Hero */
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .rotating-word {
        font-size: 1.5rem;
    }

    .hero-rotating {
        height: 42px;
    }

    .hero-socials a {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        font-size: 1rem;
    }

    /* Mobile Section Spacing & Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Mobile About Intro */
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-intro-text {
        text-align: center;
    }

    .about-intro-text h2 {
        font-size: 1.8rem;
    }

    .about-intro-text .section-line-left {
        margin: 0 auto 24px auto;
    }

    .about-intro-text .btn {
        width: 100%;
        text-align: center;
    }

    .about-intro-image {
        border-radius: 12px;
        overflow: hidden;
    }

    .about-intro-image img {
        height: 260px;
        border-radius: 12px;
    }

    /* Mobile Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .service-tile {
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .service-tile::before {
        display: none;
    }

    .service-tile-icon {
        margin-bottom: 14px;
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }

    .service-tile-icon i {
        font-size: 1.1rem;
    }

    .service-tile h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .service-tile p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .services-bottom {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
        gap: 18px;
        margin-left: -18px;
        margin-right: -18px;
        width: calc(100% + 36px);
    }

    .services-bottom p {
        font-size: 0.95rem;
    }

    .services-bottom .btn {
        width: 100%;
    }

    /* Mobile Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-img {
        height: 220px;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 26, 26, 0.7), transparent 60%);
    }

    .project-link {
        position: absolute;
        bottom: 14px;
        right: 14px;
        padding: 8px 16px;
        font-size: 0.8rem;
        border-width: 1px;
        background: rgba(184, 134, 11, 0.9);
        border-color: transparent;
    }

    .project-info {
        padding: 18px 20px;
    }

    .project-info h3 {
        font-size: 1.05rem;
    }

    /* Mobile Featured Post */
    .featured-post {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 24px;
        border-radius: 10px;
    }

    .featured-post-text h3 {
        font-size: 1.4rem;
    }

    .featured-post-embed iframe {
        width: 100%;
        max-width: 100%;
        height: 700px;
    }

    .featured-post-socials {
        justify-content: center;
    }

    /* Mobile Testimonials */
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .testimonials-cta {
        margin-top: 36px;
    }

    .testimonials-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-review {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Mobile Contact */
    .contact {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .form-group.full-width {
        grid-column: 1;
    }

    .contact-form .btn {
        width: 100%;
        text-align: center;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 6px;
    }

    .contact-card {
        padding: 28px;
        border-radius: 10px;
    }

    .contact-item {
        padding: 14px 0;
    }

    /* Mobile Footer */
    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 20px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

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

    /* Mobile About Page */
    .page-header {
        height: 240px;
    }

    .page-header-content h1 {
        font-size: 1.8rem;
        padding: 0 16px;
    }

    .page-header-content p {
        font-size: 0.95rem;
        padding: 0 16px;
    }

    .about-page {
        padding: 60px 0;
    }

    .about-page .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-page .about-text {
        text-align: center;
    }

    .about-page .about-text h2 {
        font-size: 1.8rem;
    }

    .about-page .about-text .section-line-left {
        margin: 0 auto 24px auto;
    }

    .about-image img {
        height: 250px;
        border-radius: 10px;
    }

    .team-section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-text {
        text-align: center;
    }

    .team-text h2 {
        font-size: 1.8rem;
    }

    .team-text .section-line-left {
        margin: 0 auto 24px auto;
    }

    .team-img-grid {
        gap: 8px;
    }

    .team-img-grid img {
        height: 160px;
        border-radius: 8px;
    }

    .team-socials {
        justify-content: center;
    }

    .areas-section {
        padding: 60px 0;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .areas-content {
        text-align: center;
    }

    .areas-content .btn {
        width: 100%;
    }

    .areas-map iframe {
        min-height: 300px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .rotating-word {
        font-size: 1.3rem;
    }

    .hero-rotating {
        height: 36px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 30px;
    }

    .hero-buttons .btn {
        text-align: center;
        width: 100%;
    }

    .container {
        padding: 0 18px;
    }

    .about-intro,
    .services,
    .projects,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

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

    .section-header h2 {
        font-size: 1.55rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-tile {
        padding: 20px 18px;
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 16px;
    }

    .service-tile-icon {
        margin-bottom: 0;
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .service-tile p {
        display: none;
    }

    .project-img {
        height: 190px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .featured-post {
        padding: 22px 16px;
    }

    .featured-post-embed iframe {
        height: 650px;
    }

    .footer-logo {
        height: 50px;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }

    .page-header {
        height: 200px;
    }

    .page-header-content h1 {
        font-size: 1.5rem;
    }
}
