/* 
========================================================================
   SVS ENTERPRISES - DESIGN SYSTEM & LAYOUT STYLES
   Description: Shared style sheet for Home, Services, Contact & Legal
========================================================================
*/

/* Google Fonts Import */
@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');

/* CSS Variables */
:root {
    /* Color System */
    --primary-hsl: 222, 47%, 11%;
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(222, 47%, 18%);
    
    --secondary-hsl: 38, 92%, 50%;
    --secondary: hsl(var(--secondary-hsl));
    --secondary-hover: hsl(38, 92%, 43%);
    --secondary-light: hsl(38, 92%, 95%);
    
    --accent-hsl: 162, 76%, 41%;
    --accent: hsl(var(--accent-hsl));
    --accent-hover: hsl(162, 76%, 33%);
    --accent-light: hsl(162, 76%, 95%);

    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    
    /* Layout Constants */
    --max-width: 1280px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-solar: 0 10px 30px -10px rgba(245, 158, 11, 0.2);
    
    /* Border Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

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

/* Typography Helpers */
.text-gradient-solar {
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--accent) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Interactive Elements & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: var(--shadow-solar);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(245, 158, 11, 0.35);
}

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

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

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

header.scrolled {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    transition: var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1010;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 85% 15%, hsla(38, 92%, 50%, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, hsla(162, 76%, 41%, 0.1) 0%, transparent 45%);
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.shape-blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    top: 15%;
    right: 10%;
    width: 350px;
    height: 350px;
    background-color: var(--secondary-light);
}

.shape-2 {
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background-color: var(--accent-light);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--bg-tertiary);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solar-card-3d {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    width: 100%;
    max-width: 480px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.solar-card-3d:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.solar-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

/* CSS simulated Solar Panel grid inside graphic */
.solar-grid-sim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    padding: 10px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

.solar-cell {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    border: 1px solid #60a5fa;
    opacity: 0.85;
    position: relative;
    overflow: hidden;
}

.solar-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.sun-orb {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--secondary) 20%, rgba(245, 158, 11, 0.5) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    z-index: 10;
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #f1f5f9;
}

.floating-badge .icon-container {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.floating-badge .badge-text h4 {
    font-size: 1rem;
    font-weight: 700;
}

.floating-badge .badge-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Home / About Content */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-feature-item {
    display: flex;
    gap: 1.25rem;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.about-feature-content p {
    color: var(--text-secondary);
}

/* Stats Counter Widget */
.stats-strip {
    display: flex;
    justify-content: space-between;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    margin-top: 4rem;
    box-shadow: var(--shadow-lg);
}

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

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-secondary);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(226, 232, 240, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.service-icon-wrapper.primary {
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
}

.service-icon-wrapper.accent {
    background-color: var(--accent-light);
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-card {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%), var(--primary);
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info-card .intro-p {
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 1.25rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-details h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method-details p {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Map placeholder stylised */
.map-graphic-wrapper {
    height: 200px;
    background-color: #1e293b;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-grid-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.15;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, #94a3b8 1px, transparent 1px),
        linear-gradient(to bottom, #94a3b8 1px, transparent 1px);
}

.map-location-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-pin {
    width: 24px;
    height: 24px;
    background-color: var(--secondary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 7px;
}

.map-pin-pulse {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mapPulse 2s infinite ease-out;
    opacity: 0;
}

@keyframes mapPulse {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    80% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.map-label {
    margin-top: 10px;
    background-color: var(--white);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

/* Contact Form Container */
.contact-form-container {
    background-color: var(--bg-secondary);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-form-container h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

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

/* Form success & state styles */
.form-input.is-invalid {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: none;
}

.form-status-msg {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-status-msg.success {
    background-color: var(--accent-light);
    color: var(--accent-hover);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.form-status-msg.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

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

/* Footer Section */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2.5rem 0;
    border-top: 4px solid var(--secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-info p {
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

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

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition-normal);
}

.social-icon-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-links-group h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
    opacity: 1;
    padding-left: 0.25rem;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact-item span {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-copyright {
    opacity: 0.6;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    opacity: 0.6;
}

.footer-legal-links a:hover {
    color: var(--secondary);
    opacity: 1;
}

/* ========================================================================
   LEGAL.HTML SPECIFIC STYLES
   ======================================================================== */
.legal-body {
    background-color: var(--bg-primary);
}

.legal-header {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 6rem 0 4rem 0;
    position: relative;
    background: radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 50%), var(--primary);
}

.legal-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-header p {
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.legal-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.legal-tab-btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.legal-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.legal-tab-btn.active {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    box-shadow: var(--shadow-solar);
}

.legal-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-content-card {
    background-color: var(--bg-secondary);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.legal-section {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.legal-section.active {
    display: block;
}

.legal-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
    padding-bottom: 0.75rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.legal-section p, .legal-section ul {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.back-to-home-bar {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.back-link:hover {
    color: var(--secondary-hover);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-graphic {
        margin-top: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-secondary);
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 2rem;
        z-index: 1005;
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Hamburger Menu Animation */
    .mobile-nav-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats-strip {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand-info {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .legal-content-card {
        padding: 2rem;
    }
    
    .legal-header h1 {
        font-size: 2.25rem;
    }
}
