/* ===================================
   MetalPro - Modern CSS Framework
   Bootstrap 5 + Light/Dark Mode
=================================== */

:root {
    /* Brand Colors */
    --brand-primary: #0c5cd4;
    --brand-primary-dark: #0a4db8;
    --brand-primary-light: #3aa5e8;
    --brand-gradient: linear-gradient(135deg, #0c63d4 0%, #3a7de8 100%);

    /* Spacing */
    --section-padding: 7rem;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Light Mode */
[data-bs-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --text-muted: #9ca3af;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-brand: 0 10px 30px rgba(12, 129, 212, 0.2);
}

/* Dark Mode */
[data-bs-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-brand: 0 10px 30px rgba(12, 105, 212, 0.3);
}

/* ===================================
   Base Styles
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

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

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

/* ===================================
   Navbar
=================================== */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: transparent;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: var(--bg-primary);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .brand-icon {
    color: var(--brand-primary);
    font-size: 1.4rem;
}

.navbar-brand .brand-accent {
    color: var(--brand-primary);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    color: var(--text-secondary) !important;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background-color: var(--brand-primary);
    color: white;
    transform: rotate(180deg);
}

/* ===================================
   Buttons
=================================== */
.btn-brand {
    background: var(--brand-gradient);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-brand:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-brand i {
    transition: transform var(--transition-normal);
}

.btn-brand:hover i {
    transform: translateX(4px);
}

.btn-outline-modern {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-outline-modern:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ===================================
   Hero Section
=================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(100px);
}

[data-bs-theme="light"] .hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(12, 122, 212, 0.1);
    top: -200px;
    right: -100px;
}

[data-bs-theme="light"] .hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(12, 135, 212, 0.08);
    bottom: 100px;
    left: -100px;
}

[data-bs-theme="dark"] .hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(12, 119, 212, 0.15);
    top: -200px;
    right: -100px;
}

[data-bs-theme="dark"] .hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(12, 85, 212, 0.1);
    bottom: 100px;
    left: -100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--brand-primary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.stat-item p {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.floating-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--brand-primary), transparent);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* ===================================
   Trusted Section
=================================== */
.trusted-section {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.5;
    transition: opacity var(--transition-normal);
    filter: grayscale(100%);
}

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

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===================================
   Section Headers
=================================== */
section {
    padding: var(--section-padding) 0;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary);
    padding: 0.5rem 1rem;
    background-color: rgba(12, 109, 212, 0.1);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* ===================================
   Service Cards
=================================== */
.services-section {
    background-color: var(--bg-secondary);
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(12, 115, 212, 0.1);
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--brand-gradient);
    color: white;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
}

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

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-primary);
    transition: gap var(--transition-normal);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--brand-primary-dark);
}

/* ===================================
   About Preview Section
=================================== */
.about-preview-section {
    background-color: var(--bg-primary);
}

.about-image-grid {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-primary);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--brand-gradient);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-brand);
}

.experience-badge .exp-number {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .exp-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--brand-primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   Projects Section
=================================== */
.projects-section {
    background-color: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-card.project-large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-category {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--brand-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.project-overlay h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.project-link {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover {
    background: var(--brand-primary);
    color: white;
}

/* ===================================
   Process Section
=================================== */
.process-section {
    background-color: var(--bg-primary);
}

.process-timeline {
    position: relative;
}

.process-line {
    position: absolute;
    top: 80px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--border-color);
}

.process-step {
    text-align: center;
    position: relative;
    padding-top: 2rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
    background-color: var(--bg-primary);
    padding: 0 0.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--brand-primary);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.process-step:hover .step-icon {
    background: var(--brand-gradient);
    border-color: var(--brand-primary);
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   Testimonials Section
=================================== */
.testimonials-section {
    background-color: var(--bg-secondary);
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    background: var(--brand-gradient);
    border-color: transparent;
}

.testimonial-card.featured .testimonial-rating i,
.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .testimonial-author strong {
    color: white;
}

.testimonial-card.featured .testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   CTA Section
=================================== */
.cta-section {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.cta-wrapper {
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--brand-primary);
    border: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-light:hover {
    background: var(--bg-secondary);
}

.cta-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    right: -100px;
    top: -100px;
}

/* ===================================
   Footer
=================================== */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 0;
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand a {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .brand-icon {
    color: var(--brand-primary);
}

.footer-brand .brand-accent {
    color: var(--brand-primary);
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--brand-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--brand-primary);
    margin-top: 0.2rem;
}

.footer-bottom {
    padding: 1.5rem 0;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

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

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

/* ===================================
   Page Header (for internal pages)
=================================== */
.page-header {
    padding: 10rem 0 5rem;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0.05;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: var(--brand-primary);
}

.breadcrumb-item.active {
    color: var(--brand-primary);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: var(--text-muted);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 1199px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .project-card.project-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 5rem;
    }

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

    .stat-divider {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .about-img-secondary {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .experience-badge {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .project-card,
    .project-card.project-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .project-overlay {
        opacity: 1;
    }

    .cta-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
