@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Rockfort Readymix Concrete - Design Tokens */
:root {
    --accent: #FBB802;
    --accent-hover: #df9f00;
    --accent-light: rgba(251, 184, 2, 0.1);
    --accent-glow: rgba(251, 184, 2, 0.25);
    --dark: #121214;
    --slate: #1f2125;
    --slate-light: #2c2e35;
    --light-gray: #f4f5f7;
    --border-gray: #e5e7eb;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --error: #dc2626;
    --success: #16a34a;
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.25s ease-in-out;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 0; /* Add space on mobile for sticky bar */
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Space for the sticky mobile bottom bar */
    }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    position: relative;
}

h2.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-top: 0.75rem;
}

h2.section-header.center::after {
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

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

/* Layout Helpers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.section-padding {
    padding: 4rem 0; /* Reduced as requested for a more compact design */
}

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

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--white);
}

.bg-dark p {
    color: #9ca3af;
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 184, 2, 0.3);
}

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

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

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

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

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

.btn-white-outline:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-gray);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-hover);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-icon-link {
    color: #25d366;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.whatsapp-icon-link:hover {
    transform: scale(1.1);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-actions {
        display: none; /* Handled in mobile sticky bar / menu bottom */
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(135deg, #1f2125 0%, #121214 100%);
    color: var(--white);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-light) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.15;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Feature Strip */
.feature-strip {
    background-color: var(--accent);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
}

@media (max-width: 600px) {
    .feature-strip {
        display: none; /* Hide on mobile as requested */
    }
}

.feature-strip-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 220px;
}

.feature-icon-wrapper {
    background-color: var(--dark);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 40px;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.05rem;
    color: var(--dark);
}

.feature-text p {
    font-size: 0.85rem;
    color: rgba(18, 18, 20, 0.8);
    margin-bottom: 0;
}

/* Stats Bar */
.stats-bar {
    border-bottom: 1px solid var(--border-gray);
    padding: 3rem 0;
}

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

.stat-item h3 {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-family: var(--font-title);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* Cards & Grid Styling */
.card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 2.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link::after {
    content: '→';
    transition: var(--transition);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Specialized Card Grid Styles */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .btn {
    margin-top: auto;
}

/* Case Study Filter Grid */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--light-gray);
    border: 1px solid var(--border-gray);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-title);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.project-card {
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.project-image-wrapper {
    position: relative;
    height: 220px;
    background-color: var(--slate);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition);
}

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

.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: var(--dark);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.project-details {
    padding: 1.5rem;
}

.project-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-metadata {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.meta-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.project-summary {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Accordion Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-gray);
    padding: 1.25rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    color: var(--dark);
    outline: none;
    padding: 0.5rem 0;
    white-space: normal; /* Force question text wrapping on mobile */
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 1rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Safeguard height */
}

/* General Layout Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Form Submit State Alert Styles */
.form-feedback {
    display: none;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-feedback.error {
    display: block;
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: var(--error);
}

.form-feedback.success {
    display: block;
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: var(--success);
}

.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reviews masonry & badges */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 1.5rem;
    position: relative;
}

.review-stars {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.review-author {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.review-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.review-content {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Static Google Rating Badge */
.google-rating-badge {
    background-color: var(--slate);
    color: var(--white);
    padding: 1.25rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--slate-light);
}

.rating-badge-logo {
    font-size: 2.25rem;
    font-weight: 800;
}

.rating-badge-logo span:nth-child(1) { color: #4285F4; }
.rating-badge-logo span:nth-child(2) { color: #EA4335; }
.rating-badge-logo span:nth-child(3) { color: #FBBC05; }
.rating-badge-logo span:nth-child(4) { color: #34A853; }

.rating-badge-info h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0;
}

.rating-badge-info p {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0;
}

.rating-stars-inline {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Contact Details Page Split */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.map-wrapper {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    margin-top: 1.5rem;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Scroll Trigger reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* Cookie consent */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
    max-width: 420px;
    background-color: rgba(31, 33, 37, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--slate-light);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-btn {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
}

.cookie-btn-accept:hover {
    background-color: var(--accent-hover);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}

.cookie-btn-decline:hover {
    border-color: var(--white);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 5.5rem; /* Push up to clear mobile sticky bar */
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
    }
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background-color: var(--dark);
    border-top: 1px solid var(--slate-light);
    display: flex;
    z-index: 1000;
}

.sticky-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    transition: var(--transition);
    gap: 0.25rem;
    border-right: 1px solid var(--slate-light);
}

.sticky-action:last-child {
    border-right: none;
}

.sticky-action i {
    font-size: 1.15rem;
}

.sticky-action:hover, .sticky-action:active {
    background-color: var(--slate);
    color: var(--accent);
}

.sticky-action-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.sticky-action-accent:hover, .sticky-action-accent:active {
    background-color: var(--accent-hover);
    color: var(--dark);
}

@media (min-width: 769px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

/* Reference-based Custom Footer Section Style */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--slate-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr 0.8fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

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

.footer-col-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    transition: var(--transition);
}

.social-icon-box:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--slate);
    transform: translateY(-2px);
}

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

.footer-links-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.footer-links-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.65);
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.footer-links-list li a {
    color: #a1a1aa;
}

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

.footer-links-list li:hover::before {
    color: var(--accent);
}

/* Footer Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #71717a;
}

.footer-bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #71717a;
}

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

.footer-bottom-links span {
    color: var(--accent);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Page specific designs */
/* Products overview sub-grids */
.prod-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .prod-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.prod-details-spec {
    border-top: 1px solid var(--border-gray);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.prod-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.prod-spec-label {
    font-weight: 600;
}

.prod-spec-val {
    color: var(--text-muted);
}

/* 3D Icon & Image Gallery System */
.icon-3d {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.feature-icon-wrapper.flex-center .icon-3d {
    width: 24px;
    height: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(18, 18, 20, 0.95) 0%, rgba(18, 18, 20, 0) 100%);
    padding: 2rem 1.25rem 1.25rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.gallery-desc {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* Home Page Hero Slider */
.hero-slider-container {
    position: relative;
    padding: 0;
    min-height: 75vh;
    display: block;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 75vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-slider-container {
        min-height: 80vh;
    }
    .hero-slides {
        min-height: 80vh;
    }
    .hero-slide {
        min-height: 80vh;
        padding-top: 100px; /* Offset the 80px sticky header plus extra spacing */
        align-items: flex-start; /* Prevent text centering from pushing title into the header */
        padding-bottom: 2rem;
    }
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Reviews Loop Carousel */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.reviews-carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.5rem;
}

.reviews-carousel-track .review-card {
    flex: 0 0 calc(33.333% - 1rem);
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .reviews-carousel-track .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .reviews-carousel-track .review-card {
        flex: 0 0 100%;
    }
}

.carousel-nav {
    background-color: var(--slate);
    color: var(--white);
    border: 1px solid var(--slate-light);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-nav:hover {
    background-color: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicators .indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-gray);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Card image setups */
.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
    margin-bottom: 1.25rem;
}

/* Compact spacing for Capabilities page sections */
.capabilities-compact-section {
    padding: 3rem 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease;
    z-index: 999;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.back-to-top svg {
    display: block;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px; /* Clear the bottom sticky mobile bar */
        right: 15px;
        width: 40px;
        height: 40px;
    }
}


