/* Theme derived from the Image Optimizer color scheme */
:root {
    --bg: #f3f7ff;
    --panel: #ffffff;
    --text: #172033;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --border: #dce5f5;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

/* Apply gentle gradient background and global text color */
body {
    background: linear-gradient(135deg, var(--bg), #e9f2ff 60%, #f8fbff);
    color: var(--text);
    font-size: 20px;
    line-height: 1.7;
}

body,
p,
li,
a,
.sectionHead,
.sec1,
.sec4head {
    font-size: 1.2rem;
}

/* Panels, nav and cards */
.navbar,
.contact,
.sec3 {
    background-color: var(--panel) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
}



/* Swap the section 6 background with its child cards */
.sec6 .sec6files {
    background: var(--panel) !important;
}

.sec6 .containers {
    background: #ECE9E2 !important;
}

.sec1 {
    color: var(--primary) !important;
}

.containerName {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.6rem !important;
    border-radius: 0.6rem !important;
}

.myImg {
    border: 3px solid rgba(37, 99, 235, 0.12) !important;
    background: #f4f8ff !important;
}

a,
.email {
    color: var(--primary-dark) !important;
}

/* Small helper to make the recent work cards feel like the optimizer UI */
.recentWorks .container {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recentWorks .container:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}