/* Style Africa Paving - Construction Company Premium CSS */

/* ============================================
   BASE & TYPOGRAPHY
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --sa-primary: #0f2080;      /* Deep royal blue (logo blue) */
    --sa-secondary: #228b22;    /* Forest green (logo green) */
    --sa-accent: #3cb843;       /* Bright green accent */
    --sa-dark: #080e40;         /* Ultra-dark navy */
    --sa-light: #f0f4ff;
    --sa-gray: #6b7280;
    --sa-border: #e5e7eb;
    --sa-success: #22c55e;
    --sa-gradient: linear-gradient(135deg, #080e40 0%, #0f2080 100%);
    --sa-gold-gradient: linear-gradient(135deg, #228b22 0%, #3cb843 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #374151;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--sa-primary);
    line-height: 1.2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.sa-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.sa-navbar.transparent {
    background: transparent;
}

.sa-navbar.scrolled {
    background: rgba(8, 14, 64, 0.97);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.sa-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.sa-logo img {
    height: 50px;
    border-radius: 6px;
}

.sa-logo-text {
    display: flex;
    flex-direction: column;
}

.sa-logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    letter-spacing: 1px;
}

.sa-logo-tagline {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sa-accent);
    font-weight: 600;
}

.sa-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.sa-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

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

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

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

.sa-nav-cta {
    background: var(--sa-gold-gradient) !important;
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 4px;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.sa-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.4);
}

.sa-nav-cta::after {
    display: none !important;
}

.sa-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.sa-mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.sa-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sa-gradient);
    overflow: hidden;
}

.sa-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 14, 64, 0.88) 0%, rgba(15, 32, 128, 0.65) 100%);
    z-index: 1;
}

.sa-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sa-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 2rem 6rem;
    width: 100%;
}

.sa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 139, 34, 0.15);
    border: 1px solid rgba(34, 139, 34, 0.35);
    color: var(--sa-accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.sa-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.1;
}

.sa-hero h1 span {
    color: var(--sa-accent);
    display: inline;
}

.sa-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.sa-hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-hero-stat {
    text-align: left;
}

.sa-hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sa-accent);
    line-height: 1;
}

.sa-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.sa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sa-btn-primary {
    background: var(--sa-gold-gradient);
    color: white;
}

.sa-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 139, 34, 0.4);
    color: white;
}

.sa-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sa-btn-outline:hover {
    border-color: var(--sa-accent);
    color: var(--sa-accent);
}

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

.sa-btn-dark:hover {
    background: var(--sa-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 14, 64, 0.4);
    color: white;
}

.sa-btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}

.sa-btn-lg {
    padding: 1.15rem 2.75rem;
    font-size: 0.9rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.sa-section {
    padding: 6rem 0;
}

.sa-section-dark {
    background: var(--sa-primary);
    color: white;
}

.sa-section-gray {
    background: #f3f4f6;
}

.sa-section-cream {
    background: #fefce8;
}

.sa-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sa-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sa-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sa-secondary);
    margin-bottom: 1rem;
}

.sa-section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.sa-section-dark .sa-section-title {
    color: white;
}

.sa-section-subtitle {
    font-size: 1.1rem;
    color: var(--sa-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ============================================
   PRODUCT CARDS
   ============================================ */
.sa-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.sa-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--sa-border);
}

.sa-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.sa-product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.sa-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sa-product-card:hover .sa-product-image img {
    transform: scale(1.08);
}

.sa-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--sa-secondary);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sa-product-badge.sale {
    background: #ef4444;
}

.sa-product-body {
    padding: 1.5rem;
}

.sa-product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sa-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sa-product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sa-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.sa-product-name a {
    color: inherit;
    text-decoration: none;
}

.sa-product-name a:hover {
    color: var(--sa-secondary);
}

.sa-product-specs {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.sa-product-spec {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--sa-gray);
}

.sa-product-spec i {
    color: var(--sa-secondary);
    font-size: 0.7rem;
}

.sa-product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sa-border);
}

.sa-product-price .current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sa-primary);
}

.sa-product-price .unit {
    font-size: 0.8rem;
    color: var(--sa-gray);
}

.sa-product-price .original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.sa-product-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sa-product-footer .sa-btn {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
}

/* ============================================
   SERVICES / FEATURES
   ============================================ */
.sa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.sa-service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--sa-border);
    transition: all 0.4s ease;
}

.sa-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--sa-accent);
}

.sa-service-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1) 0%, rgba(60, 184, 67, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sa-service-icon i {
    font-size: 1.75rem;
    color: var(--sa-secondary);
}

.sa-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sa-service-card p {
    color: var(--sa-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.sa-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sa-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s;
}

.sa-service-link:hover {
    gap: 0.75rem;
    color: var(--sa-secondary);
}

/* ============================================
   PROJECT GALLERY
   ============================================ */
.sa-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.sa-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.sa-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sa-gallery-card:hover img {
    transform: scale(1.1);
}

.sa-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 64, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sa-gallery-card:hover .sa-gallery-overlay {
    opacity: 1;
}

.sa-gallery-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.sa-gallery-info span {
    color: var(--sa-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.sa-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.sa-testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--sa-border);
    position: relative;
}

.sa-testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.sa-testimonial-stars i {
    color: var(--sa-accent);
    font-size: 0.9rem;
}

.sa-testimonial-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.sa-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sa-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sa-light);
}

.sa-testimonial-name {
    font-weight: 700;
    color: var(--sa-primary);
    font-size: 0.95rem;
}

.sa-testimonial-role {
    font-size: 0.8rem;
    color: var(--sa-gray);
}

.sa-testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    color: rgba(34, 139, 34, 0.12);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.sa-cta {
    background: var(--sa-gradient);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sa-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(34, 139, 34, 0.07);
}

.sa-cta h2 {
    color: white;
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 1rem;
}

.sa-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.sa-footer {
    background: var(--sa-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.sa-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-footer-about {
    max-width: 350px;
}

.sa-footer-about p {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.sa-footer h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.sa-footer-links li {
    margin-bottom: 0.75rem;
}

.sa-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
}

.sa-footer-links a:hover {
    color: var(--sa-accent);
    padding-left: 5px;
}

.sa-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sa-footer-contact i {
    color: var(--sa-accent);
    margin-top: 0.25rem;
    width: 16px;
}

.sa-footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.sa-footer-social {
    display: flex;
    gap: 1rem;
}

.sa-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
}

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

/* ============================================
   FORMS
   ============================================ */
.sa-form-group {
    margin-bottom: 1.5rem;
}

.sa-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sa-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sa-form-input,
.sa-form-textarea,
.sa-form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--sa-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    background: white;
    color: var(--sa-primary);
}

.sa-form-input:focus,
.sa-form-textarea:focus,
.sa-form-select:focus {
    outline: none;
    border-color: var(--sa-secondary);
    box-shadow: 0 0 0 4px rgba(34, 139, 34, 0.1);
}

.sa-form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.sa-page-header {
    background: var(--sa-gradient);
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sa-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(34, 139, 34, 0.05) 100%);
}

.sa-page-header h1 {
    color: white;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.sa-page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.sa-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.sa-breadcrumb a {
    color: var(--sa-accent);
    text-decoration: none;
}

.sa-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ABOUT / WHY CHOOSE US
   ============================================ */
.sa-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sa-about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.sa-about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.sa-about-experience {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--sa-gold-gradient);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.sa-about-experience .number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.sa-about-experience .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.sa-feature-list {
    list-style: none;
    margin-top: 2rem;
}

.sa-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.sa-feature-list li i {
    color: var(--sa-success);
    margin-top: 0.25rem;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================
   ALERT / MESSAGES
   ============================================ */
.sa-alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sa-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.sa-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ============================================
   MOBILE SIDEBAR
   ============================================ */
.sa-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--sa-dark);
    z-index: 1100;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.sa-mobile-menu.active {
    right: 0;
}

.sa-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sa-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sa-mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.sa-mobile-nav-links {
    list-style: none;
    margin-top: 3rem;
}

.sa-mobile-nav-links li {
    margin-bottom: 0;
}

.sa-mobile-nav-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s;
    font-weight: 500;
}

.sa-mobile-nav-links a:hover {
    color: var(--sa-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sa-nav-links {
        display: none;
    }

    .sa-mobile-toggle {
        display: block;
    }

    .sa-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sa-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sa-hero-stats {
        gap: 2rem;
    }
}

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

    .sa-hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .sa-hero-stat-number {
        font-size: 2rem;
    }

    .sa-products-grid,
    .sa-services-grid,
    .sa-gallery-grid,
    .sa-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sa-footer-grid {
        grid-template-columns: 1fr;
    }

    .sa-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sa-hero-actions {
        flex-direction: column;
    }

    .sa-hero-actions .sa-btn {
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.sa-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sa-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.sa-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.sa-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.sa-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.sa-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.sa-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.sa-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* Product detail page */
.sa-product-detail-gallery {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.sa-product-detail-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sa-product-detail-thumb {
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.sa-product-detail-thumb.active,
.sa-product-detail-thumb:hover {
    border-color: var(--sa-secondary);
}

/* ============================================
   HERO SLIDER (side-by-side)
   ============================================ */
.sa-hero.sa-hero-slider {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* padding-top: 6rem; */
    /* solid blue — no bg image */
    background: var(--sa-gradient);
}

/* Remove the full-screen overlay tint used by the old single-image hero */
.sa-hero.sa-hero-slider .sa-hero-overlay,
.sa-hero.sa-hero-slider .sa-hero-bg {
    display: none;
}

.sa-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    bottom: 80px; /* space for stats bar */
    display: flex;
    align-items: center;
    padding: 110px 0 2rem; /* 110px clears the fixed navbar comfortably */
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sa-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.sa-slide.sa-slide-exit {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sa-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Slide image */
.sa-slide-image-wrap {
    position: relative;
}

.sa-slide-image-wrap::before {
    content: '';
    position: absolute;
    top: -18px; right: -18px;
    width: 90px; height: 90px;
    border-top: 4px solid var(--sa-accent);
    border-right: 4px solid var(--sa-accent);
    border-radius: 0 12px 0 0;
    z-index: 2;
    pointer-events: none;
}

.sa-slide-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -18px; left: -18px;
    width: 90px; height: 90px;
    border-bottom: 4px solid var(--sa-secondary);
    border-left: 4px solid var(--sa-secondary);
    border-radius: 0 0 0 12px;
    z-index: 2;
    pointer-events: none;
}

.sa-slide-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sa-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sa-slide.active .sa-slide-image img {
    transform: scale(1.03);
}

/* Stats bar */
.sa-hero-stats-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    padding: 0 2rem;
    z-index: 5;
}

.sa-hero-stats-bar .sa-hero-stat {
    text-align: center;
}

.sa-hero-stats-bar .sa-hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sa-accent);
    line-height: 1;
}

.sa-hero-stats-bar .sa-hero-stat-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
}

/* Slider controls */
.sa-slider-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(80px + 1.25rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 10;
}

.sa-slider-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.sa-slider-btn:hover {
    background: var(--sa-secondary);
    border-color: var(--sa-secondary);
}

.sa-slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sa-slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    padding: 0;
}

.sa-slider-dot.active {
    background: var(--sa-accent);
    width: 26px;
    border-radius: 4px;
}

/* Responsive hero slider */
@media (max-width: 900px) {
    .sa-slide-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sa-slide-image-wrap {
        display: none;
    }

    .sa-hero-stats-bar {
        gap: 2rem;
    }

    .sa-hero-stats-bar .sa-hero-stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .sa-hero-stats-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 0.875rem 1rem;
        gap: 0.75rem 1.5rem;
    }

    .sa-slider-controls {
        bottom: calc(120px + 1rem);
    }
}

/* Short viewport devices (landscape mobile, small tablets) */
@media (max-height: 700px) {
    .sa-hero.sa-hero-slider {
        min-height: 100svh;
        height: 100svh;
    }

    .sa-slide {
        padding-top: 80px;
        align-items: flex-start;
        padding-bottom: 1rem;
    }

    .sa-slide-inner {
        gap: 1.5rem;
    }

    .sa-hero-badge {
        margin-bottom: 0.75rem;
    }

    .sa-hero h1 {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .sa-hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .sa-hero-stats-bar {
        height: 60px;
    }

    .sa-hero.sa-hero-slider .sa-slide {
        padding-top: 120px;
        bottom: 60px;
    }

    .sa-slider-controls {
        bottom: calc(60px + 0.75rem);
    }
}

/* ============================================
   AUTH PAGES
   ============================================ */
.sa-auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: stretch;
}

.sa-auth-brand {
    flex: 0 0 420px;
    background: linear-gradient(160deg, var(--sa-dark) 0%, #0f2080 55%, #0a5c0a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.sa-auth-brand::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(60, 184, 67, 0.07);
}

.sa-auth-brand::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.sa-auth-brand-logo {
    width: 170px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.sa-auth-brand h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.sa-auth-brand p {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

.sa-auth-brand-features {
    list-style: none;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 265px;
}

.sa-auth-brand-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin-bottom: 0.875rem;
}

.sa-auth-brand-features li i {
    color: var(--sa-accent);
    font-size: 0.8rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.sa-auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: #f0f4ff;
}

.sa-auth-form-card {
    width: 100%;
    max-width: 420px;
}

.sa-auth-form-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sa-primary);
    margin-bottom: 0.4rem;
    font-family: 'Playfair Display', serif;
}

.sa-auth-subtitle {
    color: var(--sa-gray);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.sa-auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.sa-auth-status {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.sa-auth-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 1rem;
}

.sa-auth-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
}

.sa-auth-links a {
    color: var(--sa-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--sa-accent);
    padding-bottom: 1px;
    transition: color 0.2s;
}

.sa-auth-links a:hover {
    color: var(--sa-secondary);
}

@media (max-width: 860px) {
    .sa-auth-page {
        flex-direction: column;
    }

    .sa-auth-brand {
        flex: none;
        padding: 2.5rem 1.5rem 2rem;
    }

    .sa-auth-brand-logo {
        width: 130px;
        margin-bottom: 1.5rem;
    }

    .sa-auth-brand-features {
        display: none;
    }

    .sa-auth-form-panel {
        padding: 2.5rem 1.5rem;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.sa-legal-page .sa-page-header {
    padding: 9rem 0 4rem;
}

.sa-legal-content {
    padding: 4rem 0 6rem;
}

.sa-legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sa-primary);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sa-border);
}

.sa-legal-content h2:first-child {
    margin-top: 0;
}

.sa-legal-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.sa-legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.sa-legal-content ul li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
}

.sa-legal-content ul li::before {
    content: '›';
    color: var(--sa-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: -1px;
}

.sa-legal-meta {
    background: var(--sa-light);
    border: 1px solid var(--sa-border);
    border-left: 4px solid var(--sa-secondary);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    color: var(--sa-gray);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.sa-legal-meta strong {
    color: var(--sa-primary);
}

.sa-product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-product-detail-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.sa-product-detail-info {
    padding-left: 2rem;
}

/* Pagination */
.sa-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.sa-pagination a,
.sa-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--sa-border);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--sa-primary);
    transition: all 0.3s;
}

.sa-pagination a:hover {
    background: var(--sa-secondary);
    color: white;
    border-color: var(--sa-secondary);
}

.sa-pagination .active span {
    background: var(--sa-secondary);
    color: white;
    border-color: var(--sa-secondary);
}

/* Contact Info Cards */
.sa-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.sa-contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--sa-border);
    transition: all 0.3s;
}

.sa-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sa-contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.1) 0%, rgba(230, 126, 34, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sa-contact-card-icon i {
    font-size: 1.25rem;
    color: var(--sa-secondary);
}

.sa-contact-card h4 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sa-contact-card p {
    font-size: 0.9rem;
    color: var(--sa-gray);
}
