/* ==========================================================================
   BuildArt Design Studio / Smart Builders & Co.
   Master Stylesheet (Scalable Image Architecture & Scaled Typography)
   ========================================================================== */

/* --- 1. Custom Font Definition & Root CSS Variables --- */
@font-face {
    font-family: 'AMERSN';
    src: url('../fonts/AMERSN__.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

:root {
    /* Branding & Color Palette */
    --teal: #1a6f62;         /* Primary Brand Dark Teal */
    --gold: #d1b473;         /* Accent Gold */
    --dark-bg: #1a1f26;      /* Deep Slate Charcoal */
    --light-bg: #f4f6f8;     /* Off-white background */
    --text-dark: #222222;    /* Dark Heading text */
    --text-muted: #666666;   /* Muted Paragraph text */
    --white: #ffffff;
    
    /* Fonts */
    --heading-font: 'AMERSN', sans-serif;
    --main-font: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
}

/* --- 2. Global Reset & Base Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--main-font);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .headline-font {
    font-family: var(--heading-font);
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    font-family: var(--main-font);
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

a {
    font-family: var(--main-font);
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 55px 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 35px !important;
}

.section-title h2 {
    font-size: 1.85rem !important;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title .bar {
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* --- 3. Global Action Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    font-family: var(--main-font);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--dark-bg) !important;
    color: var(--gold) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-teal {
    background-color: var(--teal);
    color: var(--white);
}

.btn-teal:hover {
    background-color: var(--dark-bg);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
}

.btn-outline:hover {
    background-color: var(--teal);
    color: var(--white);
}

/* --- 4. Top Utility Bar & Unified Navigation Header --- */
.top-bar {
    background-color: var(--dark-bg);
    color: #bbb;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1001;
    font-family: var(--main-font);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 15px;
}

.top-info i {
    color: var(--gold);
    margin-right: 5px;
}

.top-social a {
    color: #bbb;
    margin-left: 12px;
}

.top-social a:hover {
    color: var(--gold);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    padding-top: 41px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.5s ease;
}

header.scrolled {
    height: 75px;
    padding-top: 0;
    background-color: rgba(26, 31, 38, 0.95) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    max-height: 60px;
}

.logo img {
    height: 50px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.5));
    transition: filter 0.5s ease;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--white) !important;
    white-space: nowrap;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
    transition: color 0.5s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-family: var(--main-font) !important;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    padding: 5px;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--gold);
    border-radius: 4px;
}

/* --- 5. Hero Banner & Subpage Banners --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)), 
                url('../pictures/hero-bg.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    min-height: 350px;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 2.2rem !important;
    color: var(--white) !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: var(--heading-font);
    line-height: 1.25;
}

.hero-content p {
    font-family: var(--main-font);
    font-size: 1.15rem;
    color: #e0e0e0 !important;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-action {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}   

.page-banner {
    background: linear-gradient(rgba(26, 31, 38, 0.65), rgba(26, 31, 38, 0.75)), 
                url('../pictures/hero-bg.jpg') center/cover no-repeat;
    padding: 140px 0 60px 0 !important;
    text-align: center;
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}

.page-banner h1 {
    font-family: var(--heading-font) !important;
    font-size: 2.2rem !important;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-banner p {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* --- 6. Sleek Overlapping Statistics Counter Block --- */
.counter-section {
    background-color: var(--dark-bg) !important;
    margin-top: -50px !important;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 28px 20px;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.counter-item h3 {
    font-family: var(--main-font) !important;
    font-size: 2.3rem !important;
    font-weight: 800;
    color: var(--gold) !important;
    margin-bottom: 2px !important;
    letter-spacing: 1px;
}

.counter-item p {
    font-family: var(--main-font) !important;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 0 !important;
    text-transform: uppercase;
    font-size: 0.78rem !important;
    letter-spacing: 1.2px;
}

/* --- 7. About Section --- */
#about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--teal);
    margin-bottom: 15px;
}

/* --- 8. Core Services Section --- */
#services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

.service-card {
    background: var(--light-bg);
    padding: 35px 25px;
    border-radius: 6px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--gold);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* --- 9. Featured Portfolio Showcase --- */
#projects {
    background-color: var(--light-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.project-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--dark-bg);
}

.project-card img {
    width: 100%;
    height: 250px;
    aspect-ratio: 16 / 10; /* Reserves space during load without touching HTML attributes */
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
}

.project-info h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.project-info p {
    color: #ddd;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* --- 10. Client Testimonials Slider --- */
#testimonials {
    background-color: var(--white);
}

.testimonial-slider-container {
    position: relative;
    max-width: 750px;
    margin: 10px auto 0;
    padding: 0 40px;
}

.testimonial-slider-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide-card {
    min-width: 100%;
    box-sizing: border-box;
    background-color: var(--light-bg);
    border: 1px solid rgba(209, 180, 115, 0.35);
    border-radius: 12px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.client-avatar {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-name {
    font-size: 1.3rem;
    color: var(--teal);
    margin-bottom: 2px;
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #444;
    line-height: 1.7;
    margin-bottom: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-bg);
    color: var(--gold);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.slider-btn:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: -15px; }
.next-btn { right: -15px; }

/* --- 11. Latest Insights & Articles Preview --- */
#blog-preview {
    background-color: var(--light-bg);
    border-top: 1px solid #e5e5e5;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--dark-bg);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-date i {
    color: var(--gold);
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: var(--main-font) !important;
    font-weight: 700;
}

.blog-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
    flex: 1;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--gold);
}

.read-more:hover i {
    transform: translateX(4px);
}

.blog-footer-action {
    text-align: center;
}

.blog-footer-action .btn-outline {
    padding: 12px 30px;
}

/* --- 12. Quick Contact Landing CTA Section --- */
#quick-contact {
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
}

.quick-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.quick-contact-left {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quick-contact-header .sub-heading {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.quick-contact-header h2 {
    font-size: 1.65rem !important;
    color: var(--teal);
    line-height: 1.25;
    font-family: var(--heading-font) !important;
    margin-bottom: 15px;
}

.quick-contact-img {
    flex: 1 1 0;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.quick-contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quick-contact-form {
    background-color: var(--light-bg);
    padding: 30px 35px;
    border-radius: 8px;
    border-top: 4px solid var(--teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-contact-form .form-group {
    margin-bottom: 14px;
}

.quick-contact-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--main-font);
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 111, 98, 0.15);
}

.quick-contact-form textarea {
    height: 85px;
    resize: none;
}

.quick-contact-form .btn-teal {
    width: 100%;
    padding: 13px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 5px;
    margin-top: 5px;
}

/* --- 13. Office Location & Map Block --- */
#location-bar {
    background-color: var(--light-bg);
    border-top: 1px solid #e5e5e5;
}

.location-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.location-info {
    padding: 0;
    color: var(--text-dark);
}

.location-details-list {
    list-style: none;
}

.location-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.location-details-list li strong {
    color: var(--text-dark);
}

.location-details-list i {
    color: var(--gold);
    font-size: 1.15rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.location-details-list a {
    color: var(--text-dark);
    font-weight: normal;
    transition: color 0.3s ease;
}

.location-details-list a:hover {
    color: var(--teal);
}

.location-map {
    width: 100%;
    height: 230px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(209, 180, 115, 0.4);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- 14. Contact Subpage Grid & Card Equalization --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch; /* Aligns bottom edges of both left and right cards */
}

.contact-info-card {
    background-color: var(--dark-bg) !important;
    color: var(--white) !important;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Stretches map container to bottom */
}

.contact-info-card h3 {
    color: var(--gold) !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #e0e0e0 !important;
    margin-bottom: 30px;
    font-weight: normal !important;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #e0e0e0 !important;
    font-weight: normal !important;
}

.contact-details-list i {
    color: var(--gold) !important;
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-info-card strong {
    color: var(--white) !important;
    font-weight: bold !important;
}

.contact-info-card span.highlight-label {
    color: var(--gold) !important;
    font-weight: normal !important;
}

.contact-info-card a {
    color: var(--gold) !important;
    text-decoration: none;
    font-weight: normal !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--white) !important;
    text-decoration: underline;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-top: 4px solid var(--teal);
}

.contact-form-card h3 {
    color: var(--teal);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--main-font);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
    scroll-margin-top: 100px;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 111, 98, 0.15);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.submit-btn-wrapper {
    grid-column: span 2;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--dark-bg);
    color: var(--gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- 15. Standardized Master Footer & Terms Note --- */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 60px 0 20px;
    font-size: 0.9rem;
    font-family: var(--main-font);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
    margin-top: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

/* Terms Note Positioned Near Footer Line */
.footer-col .terms-note {
    font-size: 0.82rem !important;
    color: #888888 !important;
    margin-top: 24px !important;
    margin-bottom: -10px !important;
    font-style: italic;
    letter-spacing: 0.3px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
}

/* --- 16. Floating Stacked Action Buttons --- */

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px; /* Positioned directly above the Back to Top button */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

/* Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--dark-bg);
    color: var(--gold);
    border: 1px solid rgba(209, 180, 115, 0.4);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#backToTopBtn:hover {
    background-color: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(209, 180, 115, 0.35);
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* --- 17. Responsive Mobile & Tablet Overrides --- */
@media (max-width: 992px) {
    .about-content, .hero-layout, .contact-container, .form-grid, .quick-contact-container, .location-container {
        grid-template-columns: 1fr;
    }
    .quick-contact-img {
        height: 250px;
        flex: initial;
        margin-bottom: 20px;
    }
    .location-map {
        height: 220px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-group.full-width, .submit-btn-wrapper {
        grid-column: span 1;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    .hero-action {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    header {
        position: fixed;
        top: 0;
        height: 70px;
        padding-top: 0;
        background-color: var(--dark-bg) !important;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        padding: 20px 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .logo-text {
        font-size: 1.35rem;
    }
    #hero {
        padding-top: 110px;
    }
    .testimonial-slider-container {
        padding: 20px 10px;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 18. Interactive Portfolio Gallery & Lightbox --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin-bottom: 45px;
}
.portfolio-filters li {
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--main-font);
}
.portfolio-filters li:hover,
.portfolio-filters li.active-filter {
    color: var(--teal);
    border-color: var(--teal);
}
.portfolio-grid-interactive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    transition: all 0.4s ease;
}
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-bg);
    aspect-ratio: 4 / 3;
    display: block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.portfolio-item:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}
.portfolio-overlay {
    position: absolute;
    bottom: -120px;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(26, 31, 38, 0.95) 40%);
    color: var(--white);
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}
.portfolio-overlay h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}
.portfolio-overlay p {
    color: #e0e0e0;
    font-size: 0.85rem;
    margin-bottom: 0;
}
.expand-icon {
    width: 42px;
    height: 42px;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}
.portfolio-item:hover .expand-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Fullscreen Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 38, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border: 3px solid var(--gold);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.lightbox-close:hover {
    color: var(--gold);
}
.lightbox-caption {
    text-align: center;
    color: var(--gold);
    font-size: 1.3rem;
    margin-top: 15px;
    font-family: var(--heading-font);
    letter-spacing: 1px;
}